diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-05-18 19:14:43 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-08-15 20:01:29 +0200 |
| commit | f209c269c721220c40a04adce9e5ccb32be910b7 (patch) | |
| tree | f47583b150d71ff159646128f832f38f15723486 | |
| parent | 6bf6b6f50f69165be80b083cc31f31b2236363f3 (diff) | |
| download | wvs-vplan-f209c269c721220c40a04adce9e5ccb32be910b7.tar.gz wvs-vplan-f209c269c721220c40a04adce9e5ccb32be910b7.zip | |
füge fehlendes Javascript hinzu
| -rw-r--r-- | js/jqm-themehack.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/jqm-themehack.js b/js/jqm-themehack.js new file mode 100644 index 0000000..23a504c --- /dev/null +++ b/js/jqm-themehack.js @@ -0,0 +1,8 @@ +$(document).bind('mobileinit', function(){ + var apptheme = localStorage.getItem('apptheme'); + if(apptheme === null || apptheme.length === 0){ + apptheme = 'a'; + } + + $.mobile.page.prototype.options.theme = apptheme; +}); |
