MediaWiki:Common.js:修订间差异
来自Limbo Wiki
小 (修bug?) |
(撤销版本3687,理由:直接模板内置) 标签:撤销 |
||
第3行: | 第3行: | ||
$("#lw-title").ready(function(){ | $("#lw-title").ready(function(){ | ||
$("title").html($("#lw-title").get(0).innerHTML); | $("title").html($("#lw-title").get(0).innerHTML); | ||
}); | }); | ||
$("#lw-firsthead").ready(function(){ | $("#lw-firsthead").ready(function(){ | ||
$("#firstHeading").html($("#lw-firsthead").get(0).innerHTML); | $("#firstHeading").html($("#lw-firsthead").get(0).innerHTML); | ||
}); | }); | ||
}); | }); |
2021年11月27日 (六) 14:00的版本
/* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */ $().ready(function(){ $("#lw-title").ready(function(){ $("title").html($("#lw-title").get(0).innerHTML); }); $("#lw-firsthead").ready(function(){ $("#firstHeading").html($("#lw-firsthead").get(0).innerHTML); }); });