Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit a6763f3

Browse files
author
Gabriel Schulhof
committed
Popup: Return from the dialogHashKey state when the back link takes the form of a link to the page that opened the dialog.
1 parent 9bbe152 commit a6763f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/widgets/popup.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,8 @@ define( [ "jquery",
720720
this.options.container.unbind( this.options.closeEvents );
721721
this._close( true );
722722
} else {
723-
this._close();
723+
this.close();
724+
e.preventDefault();
724725
}
725726

726727
return;

0 commit comments

Comments
 (0)