DEV: Correct theme setting specs

This commit is contained in:
David Taylor 2019-01-17 12:39:34 +00:00
parent 5bfa661a87
commit def6b2fca1
1 changed files with 2 additions and 2 deletions

View File

@ -326,7 +326,7 @@ HTML
}
})();
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) {
return 'theme_translations.#{theme.id}.' + key;
};
@ -352,7 +352,7 @@ HTML
}
})();
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) {
return 'theme_translations.#{theme.id}.' + key;
};