Browse Source

use onready in post-menu.js

pull/40/head
8chan 9 years ago
committed by czaks
parent
commit
b469855126
  1. 4
      js/post-menu.js

4
js/post-menu.js

@ -26,7 +26,7 @@
* $config['additional_javascript'][] = 'js/jquery.min.js'; * $config['additional_javascript'][] = 'js/jquery.min.js';
* $config['additional_javascript'][] = 'js/post-menu.js'; * $config['additional_javascript'][] = 'js/post-menu.js';
*/ */
(function () { onready(function () {
var List = function (menuId, text) { var List = function (menuId, text) {
this.id = menuId; this.id = menuId;
@ -206,4 +206,4 @@ $(document).on('new_post', function (e, post) {
}); });
window.Menu = Menu; window.Menu = Menu;
})(); });

Loading…
Cancel
Save