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