summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-02-18 00:07:47 -0800
committerAndreas Gohr <andi@splitbrain.org>2013-02-18 00:07:47 -0800
commit26ed704a1d2b2e40b06498df3fe2a747b751de28 (patch)
tree8969510c82c0f0d811eaa9d15d8aeb87a01e8745
parent07a30891fae578fc908dc88ad4ee02ee336fffe7 (diff)
parent1947d1b49884a38ff63ed13d434b64dc4bb777a6 (diff)
downloadrpg-26ed704a1d2b2e40b06498df3fe2a747b751de28.tar.gz
rpg-26ed704a1d2b2e40b06498df3fe2a747b751de28.tar.bz2
Merge pull request #184 from splitbrain/FS#2718
FS#2718, fix IE9, 10 not executing js after @media layout changes
-rw-r--r--lib/tpl/dokuwiki/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tpl/dokuwiki/script.js b/lib/tpl/dokuwiki/script.js
index 375500f78..4eb92a417 100644
--- a/lib/tpl/dokuwiki/script.js
+++ b/lib/tpl/dokuwiki/script.js
@@ -12,7 +12,7 @@ var device_classes = 'desktop mobile tablet phone';
function tpl_dokuwiki_mobile(){
// the z-index in mobile.css is (mis-)used purely for detecting the screen mode here
- var screen_mode = jQuery('#screen__mode').css('z-index');
+ var screen_mode = jQuery('#screen__mode').css('z-index') + '';
// determine our device pattern
// TODO: consider moving into dokuwiki core