mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 15:08:45 +08:00
removing ad script if ads disabled
This commit is contained in:
parent
301bc95a50
commit
a44ef62671
2 changed files with 2 additions and 0 deletions
|
@ -1717,6 +1717,7 @@ export function apply(configObj) {
|
|||
);
|
||||
$("#ad_account").removeClass("hidden");
|
||||
} else {
|
||||
$("#adScript").remove();
|
||||
$(".footerads").remove();
|
||||
$("#ad_left").remove();
|
||||
$("#ad_right").remove();
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
type="text/javascript"
|
||||
data-site-id="60b78af12119122b8958910f"
|
||||
data-mode="scan"
|
||||
id="adScript"
|
||||
async
|
||||
></script>
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue