Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script type="text/javascript">
- jQuery(function($) {
- $(window).bind('resize', function() {
- if ($("input").is(":focus")) {
- var focusClosure = (function(inputElem) {return function()
- {console.log(inputElem.focus());}}($(evt.target)));
- window.setTimeout(focusClosure, 700);
- } else {
- // Other resize functions
- }
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement