// This was added for #viewOverlay in the CSS
// More details: https://stackoverflow.com/a/16006333
$(document).on('click', ".mview .back, #viewOverlay", function () {
- $this.closeView(function(){},true);
+ $this.closeView(function () {
+ }, true);
return false;
});
}
var currentHash = window.location.hash;
- window.location.hash = '/page/' + $this.fluidbook.currentPage;
+ window.location.hash = '/page/' + this.fluidbook.currentPage;
if (window.location.hash == currentHash) {
this._closeView(callback, all, animate);
}