support new themes
This commit is contained in:
parent
74753ebb60
commit
c0d62242c8
1 changed files with 3 additions and 1 deletions
|
@ -90,7 +90,9 @@ Ox.ExamplePage = function(options, self) {
|
|||
click: function() {
|
||||
self.$frame[0].contentWindow.postMessage(
|
||||
'Ox && Ox.Theme && Ox.Theme('
|
||||
+ 'Ox.Theme() == "classic" ? "modern" : "classic"'
|
||||
+ 'Ox.Theme() == "oxlight" ? "oxmedium"'
|
||||
+ ' : Ox.Theme() == "oxmedium" ? "oxdark"'
|
||||
+ ' : "oxlight"'
|
||||
+ ')',
|
||||
'*'
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue