changeset 50:5517ac16c9fb

comment+whitespace
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 30 Dec 2013 22:55:29 -0800
parents 8358634e3d75
children 12342551537b
files bitsyauth/js/persona.js
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyauth/js/persona.js	Mon Dec 30 20:00:02 2013 -0800
+++ b/bitsyauth/js/persona.js	Mon Dec 30 22:55:29 2013 -0800
@@ -34,16 +34,17 @@
                         }
                        });
 
-  // 
+  // add click handlers to signin, signout buttons
   var signinLink = document.getElementById('signin');
   if (signinLink) {
       signinLink.onclick = function() {
           navigator.id.request();
       };
   }
-
   var signoutLink = document.getElementById('signout');
   if (signoutLink) {
-      signoutLink.onclick = function() { navigator.id.logout(); };
+      signoutLink.onclick = function() {
+          navigator.id.logout();
+      };
   }
 }
\ No newline at end of file