mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
mw.Target: Fix API breakage of watchlist preference check
Bug: T97838 Change-Id: I413c300ad26dd87d9d6a7c6f0032a8165ea7f2c9
This commit is contained in:
parent
9275a0ae15
commit
6c86046bd8
|
@ -324,7 +324,7 @@ ve.init.mw.Target.onLoad = function ( response ) {
|
|||
.prop( 'checked',
|
||||
mw.user.options.get( 'watchdefault' ) ||
|
||||
( mw.user.options.get( 'watchcreations' ) && !this.pageExists ) ||
|
||||
data.watched
|
||||
data.watched === ''
|
||||
);
|
||||
|
||||
this.baseTimeStamp = data.basetimestamp;
|
||||
|
|
Loading…
Reference in a new issue