User:Xenwolf/vector.js: Difference between revisions
Jump to navigation
Jump to search
m ... testing done |
created garbage on pages wihth more than one h1 heading |
||
| Line 1: | Line 1: | ||
var numWords = $("#mw-content-text > div").text().split(" ").length; | var numWords = $("#mw-content-text > div").text().split(" ").length; | ||
var header = $("#firstHeading").text(); | |||
var header = $(" | |||
$(" | $("#firstHeading").text(header + " (" + numWords + " words)"); | ||