From f68f75d2e1ae87554f25f453d24e97daf5ad2228 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Wed, 8 Apr 2009 12:09:40 -0400 Subject: [PATCH] mobile fiddling --- dip3.js | 4 ++-- mobile.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dip3.js b/dip3.js index bbdad0c..ae923d1 100644 --- a/dip3.js +++ b/dip3.js @@ -79,7 +79,7 @@ function plainTextOnClick(id) { } function hideTOC() { - var toc = ' show table of contents'; + var toc = ' show table of contents'; $("#toc").html(toc); } @@ -100,6 +100,6 @@ function showTOC() { toc += ''; level -= 1; } - toc = ' hide table of contents
  1. Full table of contents
  2. ' + toc.substring(4); + toc = ' hide table of contents
    1. Full table of contents
    2. ' + toc.substring(4); $("#toc").html(toc); } diff --git a/mobile.css b/mobile.css index fa4168d..98f62bc 100644 --- a/mobile.css +++ b/mobile.css @@ -35,7 +35,7 @@ h2:before{counter-increment:h2;content:counter(h1) "." counter(h2) ". "} h3:before{counter-increment:h3;content:counter(h1) "." counter(h2) "." counter(h3) ". "} /* overrides */ -.nm,.w,aside,form,form + p,.note span,ol li li{display:none} +.nm,.w,aside,form,form + p,.note span,ol li li,.q span{display:none} ol{padding-left:24px} ul{list-style:none;margin:0;padding:0} dd{margin:0 0 0 1.75em}