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 );
|
$pageslide.data( 'localEl', false );
|
||||||
}
|
}
|
||||||
_checkTitle(settings);
|
_checkTitle(settings);
|
||||||
|
@ -276,7 +277,7 @@
|
||||||
.empty();
|
.empty();
|
||||||
}
|
}
|
||||||
_sliding = false;
|
_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 callback != 'undefined') callback();
|
||||||
if(typeof $.fn.pageslide.defaults.closeFn === "function") {
|
if(typeof $.fn.pageslide.defaults.closeFn === "function") {
|
||||||
$.fn.pageslide.defaults.closeFn.call(this, $pageslide, $element);
|
$.fn.pageslide.defaults.closeFn.call(this, $pageslide, $element);
|
||||||
|
|
Loading…
Reference in New Issue