微件:AnchorCore:修订间差异
来自Limbo Wiki
小无编辑摘要 |
小无编辑摘要 |
||
第12行: | 第12行: | ||
$(".lw-AnchorError").hide(); | $(".lw-AnchorError").hide(); | ||
if(location.hash != null){location.hash='Anchor-Default';} | if(location.hash != null){location.hash='Anchor-Default';} | ||
}); | }); | ||
$(document).ready(function(){$(window).scrollTop(0);}); | |||
}); | }); | ||
}); | }); | ||
</script> | </script> |
2022年5月2日 (一) 07:36的版本
<style> .lw-Anchor {
display:none;
} .lw-Anchor:target {
display:block;
} </style><script> (RLQ=window.RLQ||[]).push(function(){ mw.loader.implement("lw.anchor",function($,jQuery,require,module){
$(".lw-AnchorError").ready(function(){ $(".lw-AnchorError").hide(); if(location.hash != null){location.hash='Anchor-Default';} }); $(document).ready(function(){$(window).scrollTop(0);});
}); }); </script>