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

Commit 3e3ad68

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 b243436 commit 3e3ad68

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
@@ -727,7 +727,8 @@ define( [ "jquery",
727727
this.options.container.unbind( this.options.closeEvents );
728728
this._close( true );
729729
} else {
730-
this._close();
730+
this.close();
731+
e.preventDefault();
731732
}
732733

733734
return;

0 commit comments

Comments
 (0)