mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 19:29:28 +01:00
use onready in post-menu.js
This commit is contained in:
parent
a77d045bf0
commit
93e5ff99fc
@ -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…
x
Reference in New Issue
Block a user