aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Rogan Creswick <creswick@gmail.com>2013-11-25 14:38:42 -0800
committerGravatar Rogan Creswick <creswick@gmail.com>2013-11-25 14:38:42 -0800
commit3b53cef842cf0288ad55fe55ae2f578f75b40ae7 (patch)
treec3b04939b15c64de6bbb4e14f8c92236639be36d
parent9bd080553141baefaa9f762bfa1ce1ad1bc0eb60 (diff)
removed an erronious check for header tags in the heading order guideline
-rw-r--r--guidelines/wikipedia/headingOrder.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/guidelines/wikipedia/headingOrder.js b/guidelines/wikipedia/headingOrder.js
index 0875d4a..dfb7777 100644
--- a/guidelines/wikipedia/headingOrder.js
+++ b/guidelines/wikipedia/headingOrder.js
@@ -32,10 +32,6 @@ var checkHeadingOrder = function(report) {
$5('#mw-content-text :header').each(
function(idx, elt){
- if (elt.tagName == 'header') {
- return;
- }
-
// parse the level out of 'h1', 'h2', 'h3', etc.
var level = parseInt(elt.tagName.substring(1,2));