From b46985512639503ba1f18288eab65e3cdde1aa96 Mon Sep 17 00:00:00 2001 From: 8chan Date: Sat, 28 Feb 2015 05:09:37 -0800 Subject: [PATCH] use onready in post-menu.js --- js/post-menu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/post-menu.js b/js/post-menu.js index edf66ebb..7d83709a 100644 --- a/js/post-menu.js +++ b/js/post-menu.js @@ -26,7 +26,7 @@ * $config['additional_javascript'][] = 'js/jquery.min.js'; * $config['additional_javascript'][] = 'js/post-menu.js'; */ -(function () { +onready(function () { var List = function (menuId, text) { this.id = menuId; @@ -206,4 +206,4 @@ $(document).on('new_post', function (e, post) { }); window.Menu = Menu; -})(); +});