mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Merge "Remove handling of old 'editsection' class"
This commit is contained in:
commit
409afcbce9
|
@ -986,7 +986,7 @@ ve.init.mw.ViewPageTarget.prototype.setupSkinTabs = function () {
|
|||
*/
|
||||
ve.init.mw.ViewPageTarget.prototype.setupSectionEditLinks = function () {
|
||||
var veEditUri = this.veEditUri,
|
||||
$links = $( '#mw-content-text .mw-editsection a, #mw-content-text .editsection a' );
|
||||
$links = $( '#mw-content-text .mw-editsection a' );
|
||||
if ( this.isViewPage ) {
|
||||
$links.click( ve.bind( this.onEditSectionLinkClick, this ) );
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue