diff options
author | Rodney Ewing <ewing.rj@gmail.com> | 2013-07-03 08:35:56 -0700 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-07-03 15:07:52 -0500 |
commit | 20d4995d810ce7c7dc0d9453508507cbaa6fdce6 (patch) | |
tree | 8aa9c5e365e83ebc1b1b1b6f7742a2a85bb75856 /mediagoblin/plugins | |
parent | e39b9cc60f6ccd8853ee19633d09750be541f767 (diff) | |
download | mediagoblin-20d4995d810ce7c7dc0d9453508507cbaa6fdce6.tar.lz mediagoblin-20d4995d810ce7c7dc0d9453508507cbaa6fdce6.tar.xz mediagoblin-20d4995d810ce7c7dc0d9453508507cbaa6fdce6.zip |
made it so that the create account button works with only persona enabled
Diffstat (limited to 'mediagoblin/plugins')
-rw-r--r-- | mediagoblin/plugins/persona/static/js/persona.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mediagoblin/plugins/persona/static/js/persona.js b/mediagoblin/plugins/persona/static/js/persona.js index 034f2574..a1d0172f 100644 --- a/mediagoblin/plugins/persona/static/js/persona.js +++ b/mediagoblin/plugins/persona/static/js/persona.js @@ -22,6 +22,11 @@ $(document).ready(function () { 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(); }; |