Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4103803
special.mute.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
508 B
Referenced Files
None
Subscribers
None
special.mute.js
View Options
(
function
()
{
'use strict'
;
$
(
()
=>
{
const
$inputs
=
$
(
'#mw-specialmute-form input[type="checkbox"]'
),
$saveButton
=
$
(
'#save'
);
function
isFormChanged
()
{
return
$inputs
.
is
(
function
()
{
return
this
.
checked
!==
this
.
defaultChecked
;
}
);
}
if
(
$saveButton
.
length
)
{
const
saveButton
=
OO
.
ui
.
infuse
(
$saveButton
);
saveButton
.
setDisabled
(
!
isFormChanged
()
);
$inputs
.
on
(
'change'
,
()
=>
{
saveButton
.
setDisabled
(
!
isFormChanged
()
);
}
);
}
}
);
}()
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 18:10 (3 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7f/d6/9cfde72e69c0064d05b86f023f8d
Default Alt Text
special.mute.js (508 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment