aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src')
-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 8a9de0df..9198362f 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -395,8 +395,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) {