Skip to content

Commit

Permalink
fix problem with blank pages - back navigate
Browse files Browse the repository at this point in the history
  • Loading branch information
wildhaber committed Sep 1, 2015
1 parent 7f5986b commit 9d91610
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions js/nativedroid2.js
Expand Up @@ -699,12 +699,15 @@
};

_self.iniSmoothTransition = function() {
$("body").addClass("nd2-ready");
$(document).on("pagechange", function() {
$("body").addClass("nd2-ready");
$(document).on("pagechange",function(){
$("body").removeClass("nd2-ready");
})
.bind("pagecontainershow", function(e) {
$('body').css('opacity', '1');
.bind("pagecontainershow ", function(e) {
$('body').css('opacity','1');
});
$(window).on('navigate',function(event,state) {
$('body').css('opacity','1');
});
};

Expand Down

0 comments on commit 9d91610

Please sign in to comment.