Gadget:displaytitle.js:修订间差异

添加6字节 、​ 2023年5月7日 (星期日)
// Edit via Wikiplus
(// Edit via Wikiplus)
(// Edit via Wikiplus)
第6行: 第6行:
$h1.css( 'cursor', 'pointer' );
$h1.css( 'cursor', 'pointer' );
$h1.attr( 'data-title-change', '' );
$h1.attr( 'data-title-change', '' );
$h1.on( 'click', () => {
$h1.on( 'click', function () {
if ( $h1.attr( 'data-title-change' ) === undefined ) {
if ( $h1.attr( 'data-title-change' ) === undefined ) {
$h1.text( title );
$h1.text( title );
维护员、​界面管理员、​巡查员、​监督员、​小部件编辑者
3,469

个编辑