Created
July 21, 2016 20:48
-
-
Save alph4delta/e1058b6f1136d6747e96bcf66caa66a6 to your computer and use it in GitHub Desktop.
Gist of var issub = 0;$
This file contains hidden or 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
var issub = 0;$('html').keypress(function(){issub=1;});$('#lg').mouseover(function(){issub=1;});document.getElementById('fr').onsubmit=function(){if(!issub) return false;else return true;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment