diff example/persona.html @ 41:d4522af2c6e5

refactor
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 28 Dec 2013 12:56:06 -0800
parents cb1d21648588
children 54a53bbe5be9
line wrap: on
line diff
--- a/example/persona.html	Fri Dec 27 20:13:04 2013 -0800
+++ b/example/persona.html	Sat Dec 28 12:56:06 2013 -0800
@@ -47,11 +47,13 @@
   }
 });
 
+
 var signinLink = document.getElementById('signin');
 if (signinLink) {
-signinLink.onclick = function() { navigator.id.request();
+signinLink.onclick = function() {
+navigator.id.request();
 nclicks += 1;
-$('clickcounter').append('<li>This is click ' + nclicks + '</li>');
+$('#clickcounter').append('<li>This is click ' + nclicks + '</li>');
 };
 }