Skip to content

Commit

Permalink
Merge pull request #960 from mfairchild365/fix-login-link
Browse files Browse the repository at this point in the history
Fix login link race condition
  • Loading branch information
kabel committed Feb 16, 2016
2 parents 69a72c2 + eb081f9 commit 0442c69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wdn/templates_4.1/scripts/idm.js
Expand Up @@ -248,6 +248,11 @@ define(['wdn', 'jquery', 'require'], function(WDN, $, require) {
},

displayLogin : function() {
if (Plugin.getUserId()) {
//if the user is already logged in, we should not reset the login
return;
}

var idm = $(mainSel),
loginLink = $(userSel);

Expand Down

0 comments on commit 0442c69

Please sign in to comment.