Created
November 17, 2014 21:51
-
-
Save bcomnes/544a3373834d3ee73b75 to your computer and use it in GitHub Desktop.
patch example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1476758c2680f36079a067093d72f3302296b73b Mon Sep 17 00:00:00 2001 | |
From: Bret Comnes <bcomnes@gmail.com> | |
Date: Fri, 14 Nov 2014 14:31:11 -0800 | |
Subject: [PATCH 1/1] Fixed logout link | |
--- | |
public/javascripts/login.js | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/public/javascripts/login.js b/public/javascripts/login.js | |
index 3d6267a..dbf4543 100644 | |
--- a/public/javascripts/login.js | |
+++ b/public/javascripts/login.js | |
@@ -13,7 +13,7 @@ var signoutLinkSpan = document.createElement('span'); | |
var signoutLinkText = document.createTextNode('Sign Out'); | |
signoutLinkSpan.appendChild(signoutLinkText); | |
signoutLink.appendChild(signoutLinkSpan); | |
-signoutLink.onclick = function() { navigator.id.request(); }; | |
+signoutLink.onclick = function() { navigator.id.logout(); }; | |
logIn.appendChild(signinLink); | |
var currentUser = null; | |
-- | |
2.1.3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment