minor demo fix
This commit is contained in:
parent
0c258e615a
commit
182ba8345e
1 changed files with 7 additions and 4 deletions
|
|
@ -359,6 +359,9 @@ bindDropdown("mode", function(value) {
|
||||||
});
|
});
|
||||||
|
|
||||||
bindDropdown("theme", function(value) {
|
bindDropdown("theme", function(value) {
|
||||||
|
if (!value)
|
||||||
|
return;
|
||||||
|
|
||||||
if (module.packaged) {
|
if (module.packaged) {
|
||||||
loadTheme(value, function() {
|
loadTheme(value, function() {
|
||||||
env.editor.setTheme(value);
|
env.editor.setTheme(value);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue