From: Vincent Vanwaelscappel Date: Wed, 10 Jul 2013 15:14:22 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2cd73e7d93ea7da4fe1d7f9ef99ddfb8594ce6b0;p=fluidbook-html5.git --- diff --git a/js/main.js b/js/main.js index 59aa1b1c..b21876b6 100644 --- a/js/main.js +++ b/js/main.js @@ -170,6 +170,9 @@ function initEvents() { }); $(document).on('click', 'a', function() { + if ($(this).attr('href') == '%apphome%') { + $(this).attr('href', window.localStorage.getItem('apphome')); + } if (!DATAS.phonegap) { return true; }