summaryrefslogtreecommitdiff
path: root/lib/tpl/dokuwiki/main.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2012-09-26 09:22:02 +0100
committerAnika Henke <anika@selfthinker.org>2012-09-26 09:22:02 +0100
commit86ca15261461b6c74f66407e7ac6992baa097d0d (patch)
tree3cb70b54e9c792a92f2647c1ed522bfc288eb9e4 /lib/tpl/dokuwiki/main.php
parent20391a36885910a616110df30f3ce30f8d23639d (diff)
downloadrpg-86ca15261461b6c74f66407e7ac6992baa097d0d.tar.gz
rpg-86ca15261461b6c74f66407e7ac6992baa097d0d.tar.bz2
Revert "removed html dependency from media query detection JS in new template"
... because it made the solution less transparent, more error prone and even more like a hack than it already was This reverts commit 20391a36885910a616110df30f3ce30f8d23639d.
Diffstat (limited to 'lib/tpl/dokuwiki/main.php')
-rw-r--r--lib/tpl/dokuwiki/main.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tpl/dokuwiki/main.php b/lib/tpl/dokuwiki/main.php
index 2406a206b..6b1e95d62 100644
--- a/lib/tpl/dokuwiki/main.php
+++ b/lib/tpl/dokuwiki/main.php
@@ -91,6 +91,7 @@ $showSidebar = $hasSidebar && ($ACT=='show');
</div></div><!-- /site -->
<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
+ <div id="screen__mode" class="no"></div><?php /* helper to detect CSS media query in script.js */ ?></div>
<!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
</body>
</html>