Преглед изворни кода

#53 - small fix/enchanecement in dolPopupImage

Alex Trofimov пре 12 година
родитељ
комит
1e2c3db43d
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      inc/js/jquery.dolPopup.js

+ 2 - 0
inc/js/jquery.dolPopup.js

@@ -302,6 +302,8 @@
                 if ('undefined' != typeof(sLoadingElement))
                     bx_loading (sLoadingElement, false);
 
+                ePopup.find('img').attr('src', sUrl);
+
                 // fit image into the browser window
                 if ((w * k - eImg.width) < (h * k - eImg.height)) {
                     ePopup.find('img').css({