Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Hide the login link if they've logged in (bug 710378)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkoberger committed Dec 15, 2011
1 parent cf60837 commit f035924
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion media/js/zamboni/browserid_support.js
Expand Up @@ -128,7 +128,10 @@ function loadProfileCompletionForm($root, options) {
win = options.window || window,
$form = $('form', $root),
handler;
$('#browserid-login').hide(); // Don't let people log in twice; will cause error

// Don't let people log in twice; will cause error
$('#browserid-login, .browserid-login').hide();

$root.show();
$(win).trigger('resize'); // I hate this so much. I vow to someday fix this properly.
$('input[type="text"]', $root).eq(0).focus();
Expand Down

0 comments on commit f035924

Please sign in to comment.