Whoops, I thought el.querySelector could match el.

This commit is contained in:
Nicolas Stepien 2012-01-22 23:57:17 +01:00
parent ba8ae38d0a
commit d3ce33c913
2 changed files with 2 additions and 2 deletions

View File

@ -2278,7 +2278,7 @@
},
toggle: function(thread) {
var id;
id = $('.op', thread).id;
id = $('.favicon + input', thread).name;
return watcher.watch(id) || watcher.unwatch(id, g.BOARD);
},
unwatch: function(id, board) {

View File

@ -1810,7 +1810,7 @@ watcher =
watcher.unwatch thread[3], thread[1]
toggle: (thread) ->
id = $('.op', thread).id
id = $('.favicon + input', thread).name
watcher.watch(id) or watcher.unwatch id, g.BOARD
unwatch: (id, board) ->