signinLink.onclick = function() { navigator.id.request(); };
}
+ var signinLink1 = document.getElementById('persona_login1');
+ if (signinLink1) {
+ signinLink1.onclick = function() { navigator.id.request(); };
+ }
+
var signoutLink = document.getElementById('logout');
if (signoutLink) {
signoutLink.onclick = function() { navigator.id.logout(); };
<p>{% trans %}Don't have one yet? It's easy!{% endtrans %}</p>
<a class="button_action_highlight" href=
{% if persona_auth is defined %}
- "javascript:;" id="persona_login"
+ "javascript:;" id="persona_login1"
{% else %}
"{{ request.urlgen('mediagoblin.auth.register') }}"
{% endif %}