Skip to content

Commit

Permalink
MAGETWO-42164: Login Modal Window popup duplicates on all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
irenelagno committed Aug 28, 2015
1 parent 0a8c611 commit 538bd0a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ define(

/** Init popup login window */
setModalElement: function (element) {
authenticationPopup.createPopUp(element);
// create pop up if it doesn't exist
if (authenticationPopup.modalWindow == null) {
authenticationPopup.createPopUp(element)
}
},

/** Is login form enabled for current customer */
Expand Down

0 comments on commit 538bd0a

Please sign in to comment.