Skip to content

Instantly share code, notes, and snippets.

@Rukia3d
Created January 13, 2014 10:31
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 Rukia3d/8397913 to your computer and use it in GitHub Desktop.
Save Rukia3d/8397913 to your computer and use it in GitHub Desktop.
function hideHint(){
$(".hint").hide();
$("#helpButton").removeClass("active");
$(document).off("click", hideHint);
return false;
}
function showHint(){
window.setTimeout(function () { $(document).on("click", hideHint) }, 500);
$(".hint").show();
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment