pidgin/nest

286e70947200
Parents 28a6b9b7329e
Children 7ac6551f9ca8
remove some trailing whitespace in oauth.html
--- a/hugo/static/oauth.html Wed Apr 17 02:22:11 2019 +0000
+++ b/hugo/static/oauth.html Sat May 04 04:44:11 2019 -0500
@@ -123,27 +123,27 @@
if (parts[0] == "access_token") {
// remove the hash from the url so we don't leak it.
window.location.hash = "";
-
+
// update the input box with the access token
var element = $("#access_token");
element.val(parts[1]);
element.select();
-
+
// stop processing
break;
}
}
});
-
+
function copyToClipboard(e) {
$("#access_token").select();
document.execCommand("copy");
}
-
+
function toggleAccessToken() {
var toggle = $("#access_token_toggle");
var token = $("#access_token");
-
+
if (toggle.text() == "Show") {
toggle.text("Hide");
token.removeClass("blur");
@@ -151,7 +151,7 @@
toggle.text("Show");
token.addClass("blur");
}
-
+
token.select();
}
</script>