update jquery to 1.10.2; change "bind" to "on" everywhere; fixes vichan-devel#27

This commit is contained in:
czaks 2014-01-21 19:25:11 +01:00
parent 0620f13392
commit 46d527ecf6
19 changed files with 27 additions and 25 deletions

View file

@ -61,7 +61,7 @@ $(document).ready(function(){
hideLockedThread(getThreadFromIcon($(this)));
});
}
$(document).bind('new_post', function(e, post) {
$(document).on('new_post', function(e, post) {
if (hide_locked_threads) {
$(post).find('img.icon[title="Locked"], i.fa-lock.fa').each(function() {
hideLockedThread(getThreadFromIcon($(this)));