Skip to content

Commit 2614745

Browse files
authored
Merge pull request #336 from lanre-ade/master
fix safari bug where height is zero
2 parents 479304a + ac65a14 commit 2614745

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/jquery-confirm.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,11 @@
313313
// start countdown after content has loaded.
314314
if(that.autoClose)
315315
that._startCountDown();
316+
}).then(function(){
317+
that._watchContent();
316318
});
317319

318-
this._watchContent();
319-
320-
if(this.animation === 'none'){
320+
if (this.animation === 'none') {
321321
this.animationSpeed = 1;
322322
this.animationBounce = 1;
323323
}

0 commit comments

Comments
 (0)