mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: Error loading up V8 due to Discourse not being present
This commit is contained in:
parent
39a6c25ebb
commit
522c60c81a
1 changed files with 4 additions and 2 deletions
|
@ -24,8 +24,10 @@
|
|||
":$" : 'blush'
|
||||
};
|
||||
|
||||
Object.keys(translations).forEach(function (code) {
|
||||
Discourse.Dialect.inlineReplace(code, imageFor(translations[code]));
|
||||
Discourse.Dialect.on('register', function() {
|
||||
Object.keys(translations).forEach(function (code) {
|
||||
Discourse.Dialect.inlineReplace(code, imageFor(translations[code]));
|
||||
});
|
||||
});
|
||||
|
||||
Discourse.Dialect.inlineBetween({
|
||||
|
|
Loading…
Reference in a new issue