Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crappy hack to hide cc number #6

Merged
merged 1 commit into from Feb 23, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions static/signin.js
Expand Up @@ -86,7 +86,15 @@ function stopRKey(evt) {
return false; return false;
} }


if (code === 37 || code === 59) {
// if the input is either a semicolon or percent sign, make input field font white
$("input[name=email]").css('font-color', '#fff');
}

if ((code == 13) && (node.type=="text")) { if ((code == 13) && (node.type=="text")) {
setTimeout(function() {
$("input[name=email]").css('font-color', '#000');
}, 1000);


raw = $("input[name=email]").val(); raw = $("input[name=email]").val();


Expand Down