Show Credential banner only in the main page

This commit is contained in:
varjolintu 2020-02-03 10:18:44 +02:00
parent b01ab1e835
commit 990e94252e

View file

@ -118,7 +118,7 @@ kpxcBanner.create = async function(credentials = {}) {
banner.appendMultiple(bannerInfo, bannerButtons);
initColorTheme(banner);
document.body.appendChild(banner);
window.parent.document.body.appendChild(banner);
};
kpxcBanner.saveNewCredentials = async function(credentials = {}) {