diff options
author | Yorhel <git@yorhel.nl> | 2019-07-14 08:18:21 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-07-14 08:18:21 +0200 |
commit | f050581bf0fc5875c4168bb36815c4ef93a2c6a2 (patch) | |
tree | 51bae292e0cc9010e12a7fcbc10b29a61a67f021 | |
parent | 87811a6255d16a51848f4f4296ccb0d830054df1 (diff) |
iv.js: Fix closing of overlay when clicking on it or the resolution link
-rw-r--r-- | data/js/iv.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/js/iv.js b/data/js/iv.js index 732e2131..8d9eef30 100644 --- a/data/js/iv.js +++ b/data/js/iv.js @@ -35,7 +35,7 @@ function init() { } if(n && !byId('iv_view')) { - addBody(tag('div', {id: 'iv_view','class':'hidden'}, + addBody(tag('div', {id: 'iv_view','class':'hidden', onclick: function(ev) { ev.stopPropagation(); return true } }, tag('b', {id:'ivimg'}, ''), tag('br', null), tag('a', {href:'#', id:'ivfull'}, ''), |