forked from 0x2620/pandora
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);
|
||||
if (isEmbed) {
|
||||
pandora.$ui.embedPanel = pandora.ui.embedPanel().display();
|
||||
Ox.$parent.onMessage({
|
||||
Ox.$parent.bindMessage({
|
||||
settheme: function(data) {
|
||||
if (Ox.contains(pandora.site.themes, data.theme)) {
|
||||
Ox.Theme(data.theme);
|
||||
|
|
Loading…
Reference in a new issue