This commit is contained in:
Zixaphir 2013-08-09 19:47:33 -07:00
parent 00675c32bc
commit 8a6f3afb8e
3 changed files with 6 additions and 10 deletions

View File

@ -5783,11 +5783,9 @@
textContent: 'Show thread', textContent: 'Show thread',
href: 'javascript:;' href: 'javascript:;'
}); });
$.on(show, 'click', ThreadHiding.menu.show); $.on(div, 'click', ThreadHiding.menu.show);
$.event('AddMenuEntry', { $.event('AddMenuEntry', {
type: 'post' type: 'post',
});
({
el: div, el: div,
order: 20, order: 20,
open: function(_arg) { open: function(_arg) {

View File

@ -5790,11 +5790,9 @@
textContent: 'Show thread', textContent: 'Show thread',
href: 'javascript:;' href: 'javascript:;'
}); });
$.on(show, 'click', ThreadHiding.menu.show); $.on(div, 'click', ThreadHiding.menu.show);
$.event('AddMenuEntry', { $.event('AddMenuEntry', {
type: 'post' type: 'post',
});
({
el: div, el: div,
order: 20, order: 20,
open: function(_arg) { open: function(_arg) {

View File

@ -86,10 +86,10 @@ ThreadHiding =
className: 'show-thread-link' className: 'show-thread-link'
textContent: 'Show thread' textContent: 'Show thread'
href: 'javascript:;' href: 'javascript:;'
$.on show, 'click', ThreadHiding.menu.show $.on div, 'click', ThreadHiding.menu.show
$.event 'AddMenuEntry', $.event 'AddMenuEntry',
type: 'post' type: 'post'
el: div el: div
order: 20 order: 20
open: ({thread, isReply}) -> open: ({thread, isReply}) ->