Difference between revisions of "MediaWiki:Common.js"
MediaWiki interface page
Views
Actions
Namespaces
Variants
Tools
Line 1: | Line 1: | ||
$( | $(function () { | ||
var rtElement = document.getElementById('rt-stats'); | var rtElement = document.getElementById('rt-stats'); | ||
if(rtElement) { | if(rtElement) { | ||
let routeCount = 0; | let routeCount = 0; | ||
rtElement.innerHTML = 'any HTML'; | rtElement.innerHTML = 'any HTML'; | ||
const resp = | const resp = fetch("http://78.46.73.156:25674/data"); | ||
console.log(resp | console.log(resp) | ||
} | } | ||
}()); | }()); |
Revision as of 02:59, 10 April 2022
$(function () { var rtElement = document.getElementById('rt-stats'); if(rtElement) { let routeCount = 0; rtElement.innerHTML = 'any HTML'; const resp = fetch("http://78.46.73.156:25674/data"); console.log(resp) } }());