Skip to content

Instantly share code, notes, and snippets.

@mgrouchy
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgrouchy/2cfcee07ee75b2d7d6e4 to your computer and use it in GitHub Desktop.
Save mgrouchy/2cfcee07ee75b2d7d6e4 to your computer and use it in GitHub Desktop.
There is a bug in the Backend Hacker Job application page( http://jobs.bufferapp.com/backend-hacker# ) in Chrome Version 36.0.1985.84 beta, you cannot reveal your personal email. I expect this is because of the structure of the page the input is no longer a direct child of #sameemails. This is a quick fix I made so I could submit the form. Scree…
//replace this
$("#sameemails>input").change(function(){
if ( $(this).is(':checked') ) {
$("#personal_email").hide();
} else {
$("#sameemails").hide();
$("#personal_email").show();
}
});
// with this
$("#sameemails input:first").change(function(){
if ( $(this).is(':checked') ) {
$("#personal_email").hide();
} else {
$("#sameemails").hide();
$("#personal_email").show();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment