From a266c518b7dbc0803a757ebc1a4b5568e67b8bdf Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 23 Sep 2014 23:48:59 +0200 Subject: [PATCH] use parent.bindMessage --- static/js/pandora.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index b2613914..b136705f 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -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);