From 2b56f703be2a562b0c96b1eba350706dbbaef04d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 10 May 2017 09:29:10 +0300 Subject: juick-www: fix images --- juick-www/src/main/static/scripts.js | 2 +- juick-www/src/main/webapp/WEB-INF/views/index.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'juick-www/src') diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js index 9cb19fe5..1027170a 100644 --- a/juick-www/src/main/static/scripts.js +++ b/juick-www/src/main/static/scripts.js @@ -424,7 +424,7 @@ function showPhotoDialog(fname) { if (width < 640) { return true; } else if (width < 1280) { - openDialog(''); + openDialog(''); document.querySelector('#dialogw img').style.maxHeight = height + 'px'; return false; } else { diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html index 6b9eb78f..eebba613 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/index.html +++ b/juick-www/src/main/webapp/WEB-INF/views/index.html @@ -27,8 +27,7 @@ {% if msg.AttachmentType is not empty %} -