Skip to content

Commit

Permalink
remove href='#' to prevent re-render in iron-router fixes erobit#16
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Nov 14, 2013
1 parent 8c77fc3 commit cde6580
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion accounts_ui.styl
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@
left: auto;

#login-buttons
display: none;
display: none;

#login-dropdown-list a
cursor: pointer;
8 changes: 4 additions & 4 deletions login_buttons_dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- -->
<template name="_loginButtonsLoggedInDropdown">
<li id="login-dropdown-list" class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">
{{displayName}}
<b class="caret"></b>
</a>
Expand Down Expand Up @@ -33,7 +33,7 @@
<!-- -->
<template name="_loginButtonsLoggedOutDropdown">
<li id="login-dropdown-list" class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">
Sign In{{#unless forbidClientAccountCreation}} / Up{{/unless}}
<b class="caret"></b>
</a>
Expand Down Expand Up @@ -85,10 +85,10 @@
{{#if inLoginFlow}}
<div id="login-other-options">
{{#if showForgotPasswordLink}}
<a id="forgot-password-link" class="pull-left" href="#">Forgot password?</a>
<a id="forgot-password-link" class="pull-left" >Forgot password?</a>
{{/if}}
{{#if showCreateAccountLink}}
<a id="signup-link" class="pull-right" href="#">Create account</a>
<a id="signup-link" class="pull-right" >Create account</a>
{{/if}}
</div>
{{/if}}
Expand Down

0 comments on commit cde6580

Please sign in to comment.