aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/static
diff options
context:
space:
mode:
authorGravatar KillyMXI2017-08-19 18:55:28 +0300
committerGravatar KillyMXI2017-08-19 18:55:28 +0300
commitf00cc986649259d198530705ff2e072306eae96e (patch)
treeb0de07a76499c33caaa79df06d9428dc24d2caa7 /juick-www/src/main/static
parentf8dade37160451884c97b851517fa1b61b716256 (diff)
www: make lightbox working in thread
Diffstat (limited to 'juick-www/src/main/static')
-rw-r--r--juick-www/src/main/static/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index c9be85dd..39d57118 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -717,7 +717,7 @@ ready(function () {
e.preventDefault();
});
});
- document.querySelectorAll('.ir a[data-fname]').forEach(function (el) {
+ document.querySelectorAll('.ir a[data-fname], .msg-media a[data-fname]').forEach(function (el) {
el.addEventListener('click', function (e) {
let fname = e.target.closest('[data-fname]').getAttribute('data-fname');
if (!showPhotoDialog(fname)) {