Difference between revisions of "MediaWiki:Common.js"
MediaWiki interface page
Views
Actions
Namespaces
Variants
Tools
Line 2: | Line 2: | ||
var rtElement = document.getElementById('rt-stats'); | var rtElement = document.getElementById('rt-stats'); | ||
if(rtElement) { | if(rtElement) { | ||
var routeCount = 0; | |||
rtElement.innerHTML = 'any HTML'; | rtElement.innerHTML = 'any HTML'; | ||
} | } | ||
}()); | }()); |
Revision as of 03:01, 10 April 2022
$(function () { var rtElement = document.getElementById('rt-stats'); if(rtElement) { var routeCount = 0; rtElement.innerHTML = 'any HTML'; } }());