use Ox.$(document|body) instead of pandora.$ui.(document|body)

This commit is contained in:
j 2017-01-26 17:41:50 +01:00
commit 58999918f7
10 changed files with 27 additions and 31 deletions

View file

@ -112,9 +112,9 @@ pandora.ui.printView = function(data) {
// fixme: move animation into Ox.App
var animate = $('.OxScreen').length == 0;
Ox.Log('', 'ANIMATE?', animate)
animate && pandora.$ui.body.css({opacity: 0});
that.appendTo(pandora.$ui.body);
animate && pandora.$ui.body.animate({opacity: 1}, 1000);
animate && Ox.$body.css({opacity: 0});
that.appendTo(Ox.$body);
animate && Ox.$body.animate({opacity: 1}, 1000);
return that;
};