← Commit history

readme: drop the duplicate sign-in link next to the sign-in button

Ray ·29fb9713a8 ·2mo ago ·parent 7deb67e
1 file changed +2−2
readme.html+2−2
@@ -275,8 +275,8 @@ tr[data-pin].hl td,tr[data-pin].hl td.data{color:var(--text)}       h.onkeydown=function(e){if(e.key==='Enter')doSignIn();};       $('p1go').onclick=doSignIn;       $('p1cancel').onclick=function(){signingIn=false;renderAuth();};return;}-    el.innerHTML=(msg?'<span style="color:var(--red)">'+esc(msg)+'</span> &middot; ':'')+'<a id=p1in2>Sign in</a> to vote';-    $('p1in2').onclick=function(){signingIn=true;renderAuth();};+    // signed out: the button already says "Sign in to vote", so this line explains why+    el.innerHTML=msg?'<span style="color:var(--red)">'+esc(msg)+'</span>':'a vote is tied to your account, not this browser';   }   function doSignIn(){     var handle=($('p1handle')&&$('p1handle').value||'').trim();