]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 10 Jul 2013 15:14:22 +0000 (15:14 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 10 Jul 2013 15:14:22 +0000 (15:14 +0000)
js/main.js

index 59aa1b1c81f23efc4e1eaf9c73e28f5a76c516be..b21876b654d5716f1ff8ada583c6b5b5b809ab39 100644 (file)
@@ -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;
                }