document on

Brightcells лет %!s(int64=6): %!d(string=назад)
Родитель
Сommit
1047e670db
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      page/templates/page/mini_preview2.html

+ 1 - 1
page/templates/page/mini_preview2.html

@@ -383,7 +383,7 @@
383 383
         }
384 384
 
385 385
         // Initializes and opens PhotoSwipe
386
-        $('#photos img').click(function () {
386
+        $(document).on('click', '#photos img', function(){
387 387
             $('#qrscan').hide();
388 388
 
389 389
             curIdx = parseInt($(this).attr('data-idx'));