Merge branch 'tutorial' of ssh://bitbucket.org/yackob03/quay into tutorial
This commit is contained in:
commit
39b5d325c7
1 changed files with 6 additions and 4 deletions
|
@ -42,11 +42,13 @@
|
||||||
|
|
||||||
if (settings.animate) {
|
if (settings.animate) {
|
||||||
currentOverlay.animate({opacity: 0}, settings.speed, settings.easing, function () {
|
currentOverlay.animate({opacity: 0}, settings.speed, settings.easing, function () {
|
||||||
currentOverlay.remove();
|
if (currentOverlay != null) {
|
||||||
currentOverlay = null;
|
currentOverlay.remove();
|
||||||
|
currentOverlay = null;
|
||||||
|
|
||||||
// Trigger the onHide callback
|
// Trigger the onHide callback
|
||||||
settings.onHide.call(this);
|
settings.onHide.call(this);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
currentOverlay.remove();
|
currentOverlay.remove();
|
||||||
|
|
Reference in a new issue