Created
January 6, 2016 14:59
-
-
Save garveen/bc753ff3d1e4192da3f6 to your computer and use it in GitHub Desktop.
防止12306老是断,2016年春季版
This file contains 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
$(document).ajaxComplete(function(e, xhr, settings) { | |
if (!$('#queryLeftTable').children().length) { | |
window.setTimeout(function() { | |
if (!$('#queryLeftTable').children().length) { | |
window.setTimeout(function() { | |
$('#query_ticket').click(); | |
window.setTimeout(function() { | |
$('#query_ticket').click(); | |
}, 500); | |
}, 500); | |
} | |
}, 500); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment