aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www')
-rw-r--r--juick-www/src/main/static/scripts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index da306418..a40ed57a 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -396,8 +396,8 @@ function showMessageLinksDialog(mid, rid) {
}
function showPhotoDialog(fname) {
- var width = window.width,
- height = window.height * 0.9;
+ var width = window.innerWidth,
+ height = window.innerHeight * 0.9;
if (width < 640) {
return true;
} else if (width < 1280) {