User:Xenwolf/vector.js: Difference between revisions
Jump to navigation
Jump to search
m testing... |
m ... testing done |
||
| Line 1: | Line 1: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
var numWords = $("#mw-content-text > div").text().split(" ").length; | |||
var header = $("#firstHeading").text(); | |||
$("#firstHeading").text(header + " (" + numWords + " words)"); | $("#firstHeading").text(header + " (" + numWords + " words)"); | ||
}); | }); | ||