support new themes

This commit is contained in:
rolux 2013-02-10 17:16:04 +05:30
parent 74753ebb60
commit c0d62242c8

View file

@ -90,7 +90,9 @@ Ox.ExamplePage = function(options, self) {
click: function() { click: function() {
self.$frame[0].contentWindow.postMessage( self.$frame[0].contentWindow.postMessage(
'Ox && Ox.Theme && Ox.Theme(' 'Ox && Ox.Theme && Ox.Theme('
+ 'Ox.Theme() == "classic" ? "modern" : "classic"' + 'Ox.Theme() == "oxlight" ? "oxmedium"'
+ ' : Ox.Theme() == "oxmedium" ? "oxdark"'
+ ' : "oxlight"'
+ ')', + ')',
'*' '*'
); );