diff --git a/public/cache.manifest b/public/cache.manifest index 0c708148..73da1d52 100644 --- a/public/cache.manifest +++ b/public/cache.manifest @@ -1,5 +1,5 @@ CACHE MANIFEST -#Date Tue Nov 19 2013 00:39:24 +#Date Tue Nov 19 2013 00:58:39 CACHE: res/worker.js diff --git a/public/res-min/main.js b/public/res-min/main.js index 1b8a0fcf..def36555 100644 --- a/public/res-min/main.js +++ b/public/res-min/main.js @@ -20656,7 +20656,7 @@ function() { return i[r] = !0, e.id = r, r; } var i = {}, o = []; - return t.each(u.querySelectorAll(".preview-content > .wmd-title"), function(t) { + return t.each(u.querySelectorAll("h1, h2, h3, h4, h5, h6"), function(t) { o.push(new s(t.tagName, e(t), t.textContent)); }), o = a(o), '
\n\n
\n"; } diff --git a/public/res/extensions/toc.js b/public/res/extensions/toc.js index 19426121..d77c5753 100644 --- a/public/res/extensions/toc.js +++ b/public/res/extensions/toc.js @@ -107,7 +107,7 @@ define([ } var elementList = []; - _.each(previewContentsElt.querySelectorAll('.preview-content > .wmd-title'), function(elt) { + _.each(previewContentsElt.querySelectorAll('h1, h2, h3, h4, h5, h6'), function(elt) { elementList.push(new TocElement(elt.tagName, createAnchor(elt), elt.textContent)); }); elementList = groupTags(elementList);