فهرست منبع

Merge branch 'master' of https://github.com/unaio/una

AntonLV 8 سال پیش
والد
کامیت
05b13c0cfe
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      inc/js/jquery.dolPopup.js

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

@@ -447,7 +447,8 @@
 
                 $('#' + sPopupId).find(options.container).load(sUrl, function () {
                     var f = function () {
-                    	if($('#' + sPopupId).find('img').length > 0)
+                    	if($('#' + sPopupId).find('img').length > 0 && !$('#' + sPopupId).find('img').get(0).complete)
+                    	
                     		$('#' + sPopupId).find('img').load(fOnLoad);
                     	else
                     		fOnLoad();