mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
DesktopArticleTarget.init: Fix bad parameter to activateTarget()
The 4th parameter is a boolean 'modified', not a node. I'm not sure what this was supposed to do. It looks like the parameter was being ignored in all cases anyway. Change-Id: I559ab2bdb02c4a3e39b44487cf36122332d61fd1
This commit is contained in:
parent
ac4032eff5
commit
99b326286c
|
@ -1293,7 +1293,7 @@
|
||||||
section = parseSection( linkUrl.searchParams.get( 'section' ) );
|
section = parseSection( linkUrl.searchParams.get( 'section' ) );
|
||||||
}
|
}
|
||||||
var tPromise = getTarget( mode, section );
|
var tPromise = getTarget( mode, section );
|
||||||
activateTarget( mode, section, tPromise, e.target );
|
activateTarget( mode, section, tPromise );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue