summaryrefslogtreecommitdiff
path: root/lib/tpl/dokuwiki/script.js
diff options
context:
space:
mode:
authorKlap-in <klapinklapin@gmail.com>2013-02-16 23:08:08 +0100
committerKlap-in <klapinklapin@gmail.com>2013-02-16 23:08:08 +0100
commite57cf65d092c1a6458c3a468b017018905018eeb (patch)
treecb06ff0cf82afed514aa95c5c33e5faef8a9ef62 /lib/tpl/dokuwiki/script.js
parenta0e625181ad2e2369e8db0e5691f7356363776d0 (diff)
parent9bbf02e86e5c1181bbc288ce42f1937f309a7e79 (diff)
downloadrpg-e57cf65d092c1a6458c3a468b017018905018eeb.tar.gz
rpg-e57cf65d092c1a6458c3a468b017018905018eeb.tar.bz2
Merge remote-tracking branch 'origin/master' into authpluginconfig
Diffstat (limited to 'lib/tpl/dokuwiki/script.js')
-rw-r--r--lib/tpl/dokuwiki/script.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/tpl/dokuwiki/script.js b/lib/tpl/dokuwiki/script.js
index 3ed8dbabe..375500f78 100644
--- a/lib/tpl/dokuwiki/script.js
+++ b/lib/tpl/dokuwiki/script.js
@@ -1,11 +1,10 @@
/**
* We handle several device classes based on browser width.
- * see http://twitter.github.com/bootstrap/scaffolding.html#responsive
*
- * - desktop: 980+
- * - mobile: < 980
- * - tablet 481 - 979 (ostensibly for tablets in portrait mode)
- * - phone <= 480
+ * - desktop: > __tablet_width__ (as set in style.ini)
+ * - mobile:
+ * - tablet <= __tablet_width__
+ * - phone <= __phone_width__
*/
var device_class = ''; // not yet known
var device_classes = 'desktop mobile tablet phone';