Difference between revisions of "MediaWiki:Common.js"

From StarMade Wiki
(Added latest StarMade version display)
 
(No longer necessary.)
Line 1: Line 1:
/* Auto update with current stable version of StarMade */
 
  
$(function() {
 
$.get("https://registry.star-made.org/api/v1/current_version").then(function (data) {
 
$(".topbar_version > span").text(data.version);
 
});
 
});
 

Revision as of 16:03, 25 August 2016