「MediaWiki:Common.js」の版間の差分
ナビゲーションに移動
検索に移動
編集の要約なし |
編集の要約なし |
||
| 1行目: | 1行目: | ||
mw.loader.using('jquery').then(function () { | |||
var box = document.getElementById( | jQuery(function ($) { | ||
var box = document.getElementById("random-talent-box"); | |||
box.innerHTML = | if (!box) { | ||
} | return; | ||
} | } | ||
box.innerHTML = "Common.jsは動いています"; | |||
}); | |||
}); | |||
2026年3月17日 (火) 14:11時点における版
mw.loader.using('jquery').then(function () {
jQuery(function ($) {
var box = document.getElementById("random-talent-box");
if (!box) {
return;
}
box.innerHTML = "Common.jsは動いています";
});
});