removing ad script if ads disabled

This commit is contained in:
Miodec 2021-07-19 22:09:37 +01:00
parent 301bc95a50
commit a44ef62671
2 changed files with 2 additions and 0 deletions

View file

@ -1717,6 +1717,7 @@ export function apply(configObj) {
);
$("#ad_account").removeClass("hidden");
} else {
$("#adScript").remove();
$(".footerads").remove();
$("#ad_left").remove();
$("#ad_right").remove();

View file

@ -84,6 +84,7 @@
type="text/javascript"
data-site-id="60b78af12119122b8958910f"
data-mode="scan"
id="adScript"
async
></script>
</head>