use parent.bindMessage
This commit is contained in:
parent
2db57c3c69
commit
a266c518b7
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ appPanel
|
||||||
Ox.Theme(pandora.user.ui.theme);
|
Ox.Theme(pandora.user.ui.theme);
|
||||||
if (isEmbed) {
|
if (isEmbed) {
|
||||||
pandora.$ui.embedPanel = pandora.ui.embedPanel().display();
|
pandora.$ui.embedPanel = pandora.ui.embedPanel().display();
|
||||||
Ox.$parent.onMessage({
|
Ox.$parent.bindMessage({
|
||||||
settheme: function(data) {
|
settheme: function(data) {
|
||||||
if (Ox.contains(pandora.site.themes, data.theme)) {
|
if (Ox.contains(pandora.site.themes, data.theme)) {
|
||||||
Ox.Theme(data.theme);
|
Ox.Theme(data.theme);
|
||||||
|
|
Loading…
Reference in a new issue