diff options
Diffstat (limited to 'juick-www/src/main')
-rw-r--r-- | juick-www/src/main/static/scripts.js | 4 |
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) { |