summaryrefslogtreecommitdiff
path: root/js/post-menu.js
diff options
context:
space:
mode:
author8chan <admin@8chan.co>2015-02-28 05:09:37 -0800
committerczaks <marcin@6irc.net>2016-05-05 12:30:18 +0200
commitb46985512639503ba1f18288eab65e3cdde1aa96 (patch)
tree0de070d7af3864f625972f02ce2a40035a91585e /js/post-menu.js
parentaf91ddf63737fb368c77860d9762cc062690c713 (diff)
use onready in post-menu.js
Diffstat (limited to 'js/post-menu.js')
-rw-r--r--js/post-menu.js4
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;
-})();
+});