diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index f9be2cbb0..fab6625b9 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -3539,9 +3539,7 @@ }); $.on(div, 'click', ThreadHiding.menu.show); $.event('AddMenuEntry', { - type: 'post' - }); - ({ + type: 'post', el: div, order: 20, open: function(_arg) { diff --git a/builds/crx/script.js b/builds/crx/script.js index 4ba9163c8..3c3e1da35 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -3548,9 +3548,7 @@ }); $.on(div, 'click', ThreadHiding.menu.show); $.event('AddMenuEntry', { - type: 'post' - }); - ({ + type: 'post', el: div, order: 20, open: function(_arg) { diff --git a/src/Filtering/ThreadHiding.coffee b/src/Filtering/ThreadHiding.coffee index 9bb0dde75..f015b76ab 100755 --- a/src/Filtering/ThreadHiding.coffee +++ b/src/Filtering/ThreadHiding.coffee @@ -89,7 +89,7 @@ ThreadHiding = $.on div, 'click', ThreadHiding.menu.show $.event 'AddMenuEntry', - type: 'post' + type: 'post' el: div order: 20 open: ({thread, isReply}) ->