aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/browser.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/js/browser.js')
-rw-r--r--src/app/js/browser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/js/browser.js b/src/app/js/browser.js
index 21bdf3f..7dc84d9 100644
--- a/src/app/js/browser.js
+++ b/src/app/js/browser.js
@@ -358,10 +358,10 @@ if (navigator.onLine) {
var view = document.querySelector(".popup#preview webview");
browser.preview = {
show: () => {
- preview.classList.add("shown");
+ popups.show(preview, false);
},
hide: () => {
- preview.classList.remove("shown");
+ popups.hide(preview, false);
},
set: (url, autoshow) => {
if (autoshow != false) {browser.preview.show()}