use pandora.UI.encode, fix span parsing for texts

This commit is contained in:
j 2013-09-08 17:31:15 +00:00
commit dcf0893ea1
4 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@ Ox.load(function() {
window.addEventListener('hashchange', function() {
var page = document.location.hash.substring(1).split('=')[1];
page && Ox.$parent.postMessage('page', {
page: page
page: Math.round(page)
});
});
Ox.$parent.onMessage(function(event, data, oxid) {