Fixed Javascript not working because it's written very poorly.
This commit is contained in:
parent
074e078692
commit
96be282a93
1 changed files with 6 additions and 5 deletions
|
@ -1,8 +1,3 @@
|
||||||
#include utils.js
|
|
||||||
#include embed.js
|
|
||||||
#include forum/editor.js
|
|
||||||
#include events/events.js
|
|
||||||
|
|
||||||
var Misuzu = function() {
|
var Misuzu = function() {
|
||||||
timeago.render($qa('time'));
|
timeago.render($qa('time'));
|
||||||
hljs.initHighlighting();
|
hljs.initHighlighting();
|
||||||
|
@ -16,6 +11,12 @@ var Misuzu = function() {
|
||||||
|
|
||||||
MszEmbed.handle($qa('.js-msz-embed-media'));
|
MszEmbed.handle($qa('.js-msz-embed-media'));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#include utils.js
|
||||||
|
#include embed.js
|
||||||
|
#include forum/editor.js
|
||||||
|
#include events/events.js
|
||||||
|
|
||||||
Misuzu.showMessageBox = function(text, title, buttons) {
|
Misuzu.showMessageBox = function(text, title, buttons) {
|
||||||
if($q('.messagebox'))
|
if($q('.messagebox'))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue