mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 16:10:14 +08:00
DEV: Correct theme setting specs
This commit is contained in:
parent
5bfa661a87
commit
def6b2fca1
@ -326,7 +326,7 @@ HTML
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
if ('Discourse' in window && typeof Discourse._registerPluginCode === 'function') {
|
if ('Discourse' in window && typeof Discourse._registerPluginCode === 'function') {
|
||||||
var themeSetting = Discourse.__container__.lookup("service:theme-settings").getObjectForTheme(#{theme.id});
|
var settings = Discourse.__container__.lookup("service:theme-settings").getObjectForTheme(#{theme.id});
|
||||||
var themePrefix = function themePrefix(key) {
|
var themePrefix = function themePrefix(key) {
|
||||||
return 'theme_translations.#{theme.id}.' + key;
|
return 'theme_translations.#{theme.id}.' + key;
|
||||||
};
|
};
|
||||||
@ -352,7 +352,7 @@ HTML
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
if ('Discourse' in window && typeof Discourse._registerPluginCode === 'function') {
|
if ('Discourse' in window && typeof Discourse._registerPluginCode === 'function') {
|
||||||
var themeSetting = Discourse.__container__.lookup("service:theme-settings").getObjectForTheme(#{theme.id});
|
var settings = Discourse.__container__.lookup("service:theme-settings").getObjectForTheme(#{theme.id});
|
||||||
var themePrefix = function themePrefix(key) {
|
var themePrefix = function themePrefix(key) {
|
||||||
return 'theme_translations.#{theme.id}.' + key;
|
return 'theme_translations.#{theme.id}.' + key;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user