if (icon == 'home' && !skipHome) {
var homeURL = this.fluidbook.datas.home;
- if (this.fluidbook.datas.home == '%apphome%') {
+ if (this.fluidbook.datas.home == '%apphome%' || forceHome && DATAS.phonegap) {
homeURL = decodeURIComponent(window.localStorage.getItem('apphome'));
}
if ($_GET['home'] != null) {
} catch (err) {
}
+
+ $('#home').on('click', function () {
+ var $this = this;
+ fluidbook.displayLoader();
+ setTimeout(function () {
+ window.location = $($this).attr('href');
+ }, 500);
+ return false;
+ })
} else if (icon == 'index') {
this.addLink('nav-index', '#/index', 'index', 'overview');
} else if (icon == 'chapters') {