Remove erro-cover on close and loadComplete
This commit is contained in:
parent
606ac05563
commit
8e168b0fe1
|
@ -77,6 +77,7 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
if($pageslide.find('.error-cover').length) $pageslide.find('.error-cover').remove();
|
||||
$pageslide.data( 'localEl', false );
|
||||
}
|
||||
_checkTitle(settings);
|
||||
|
@ -276,7 +277,7 @@
|
|||
.empty();
|
||||
}
|
||||
_sliding = false;
|
||||
if($pageslide.find('.error').length) $pageslide.find('.error').remove();
|
||||
if($pageslide.find('.error-cover').length) $pageslide.find('.error-cover').remove();
|
||||
if(typeof callback != 'undefined') callback();
|
||||
if(typeof $.fn.pageslide.defaults.closeFn === "function") {
|
||||
$.fn.pageslide.defaults.closeFn.call(this, $pageslide, $element);
|
||||
|
|
Reference in New Issue