MediaWiki:Common.js: Difference between revisions
From Epiphany
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
$(function() { | $(function() { | ||
var hid = $('#epiphanyhelptext').attr('data-id'); | var hid = $('#epiphanyhelptext').attr('data-id'); | ||
$.get("https://epiphanywiki.crystalcomputer.com/ | $.get("https://epiphanywiki.crystalcomputer.com/extensions/EpiphanyHelpText/helptext.php?hid=" + hid, function(data) { | ||
$('#epiphanyhelptext').html(data); | $('#epiphanyhelptext').html(data); | ||
}); | }); | ||
}); | }); | ||
Revision as of 14:29, 2 February 2021
/* Any JavaScript here will be loaded for all users on every page load. */
$(function() {
var hid = $('#epiphanyhelptext').attr('data-id');
$.get("https://epiphanywiki.crystalcomputer.com/extensions/EpiphanyHelpText/helptext.php?hid=" + hid, function(data) {
$('#epiphanyhelptext').html(data);
});
});