diff options
| author | 8chan <admin@8chan.co> | 2015-02-28 05:09:37 -0800 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-05 12:30:18 +0200 |
| commit | b46985512639503ba1f18288eab65e3cdde1aa96 (patch) | |
| tree | 0de070d7af3864f625972f02ce2a40035a91585e /js | |
| parent | af91ddf63737fb368c77860d9762cc062690c713 (diff) | |
use onready in post-menu.js
Diffstat (limited to 'js')
| -rw-r--r-- | js/post-menu.js | 4 |
1 files 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; -})(); +}); |
