# HG changeset patch # User Jeff Hammel # Date 1388472929 28800 # Node ID 5517ac16c9fbbaa32d9f2bb2e27061eb7877bca0 # Parent 8358634e3d75abd6e4431fe563c529b6da9240ae comment+whitespace diff -r 8358634e3d75 -r 5517ac16c9fb bitsyauth/js/persona.js --- 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