Add voucher portal and a-ads skyscraper
This commit is contained in:
@@ -18,6 +18,7 @@ function Viewer(type, viewToken, data) {
|
||||
this.detailsWindow = new DetailsWindow(this)
|
||||
this.editWindow = new EditWindow()
|
||||
this.qrCodeWindow = new QRCodeWindow(this)
|
||||
this.skyscraper = new Skyscraper()
|
||||
|
||||
this.divFilepreview = document.getElementById("filepreview")
|
||||
|
||||
@@ -26,6 +27,9 @@ function Viewer(type, viewToken, data) {
|
||||
if (this.divFilepreview.clientWidth > 600 && !this.toolbar.visible) {
|
||||
this.toolbar.toggle()
|
||||
}
|
||||
if (this.divFilepreview.clientWidth > 1000) {
|
||||
this.skyscraper.open()
|
||||
}
|
||||
|
||||
if (embeddedViewer) {
|
||||
// Remove padding from the headerbar
|
||||
|
Reference in New Issue
Block a user