The District of Joban Difference between revisions of "MediaWiki:Common.js"

Difference between revisions of "MediaWiki:Common.js"

MediaWiki interface page
Line 4: Line 4:
         let routeCount = 0;
         let routeCount = 0;
         rtElement.innerHTML = 'any HTML';
         rtElement.innerHTML = 'any HTML';
        const resp = fetch("http://78.46.73.156:25674/data");
        console.log(resp)
     }
     }
}());
}());

Revision as of 03:00, 10 April 2022

$(function () {
	var rtElement = document.getElementById('rt-stats');
    if(rtElement) {
        let routeCount = 0;
        rtElement.innerHTML = 'any HTML';
    }
}());