Merge pull request #455 from paulb777/patch-1
Themes could only be set once in demo. They didn't get set if the theme w
This commit is contained in:
commit
d258bf7693
1 changed files with 3 additions and 1 deletions
|
|
@ -721,8 +721,10 @@ exports.launch = function(env) {
|
|||
|
||||
var themes = {};
|
||||
function loadTheme(name, callback) {
|
||||
if (themes[name])
|
||||
if (themes[name]) {
|
||||
callback();
|
||||
return;
|
||||
}
|
||||
|
||||
themes[name] = 1;
|
||||
var base = name.split("/").pop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue