check if ad enabled
This commit is contained in:
1 parent
1a53def1ef
commit
5092659a21
4 files changed
+11
-3
No files matched your search
@@ -133,6 +133,9 @@ Viewer.prototype.setFile = function(file) {
|
||||
}
|
||||
|
||||
Viewer.prototype.renderSponsors = function() {
|
||||
// Check if the ad is enabled
|
||||
if (document.querySelector(".sponsors_banner") == null) { return }
|
||||
|
||||
let scaleWidth = 1
|
||||
let scaleHeight = 1
|
||||
let minWindowHeight = 800
|
||||
|
||||
Reference in new issue
Block a user