mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Remove handling of old 'editsection' class
It's been replaced with 'mw-editsection' and all cached renders on Wikimedia wikis have expired by now. All backwards-compatibility occurences have been removed from MediaWiki core already. Change-Id: Id3731222445b588de8aec0e86892879ac4472636
This commit is contained in:
parent
df4e191020
commit
704440eb56
|
@ -986,7 +986,7 @@ ve.init.mw.ViewPageTarget.prototype.setupSkinTabs = function () {
|
||||||
*/
|
*/
|
||||||
ve.init.mw.ViewPageTarget.prototype.setupSectionEditLinks = function () {
|
ve.init.mw.ViewPageTarget.prototype.setupSectionEditLinks = function () {
|
||||||
var veEditUri = this.veEditUri,
|
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 ) {
|
if ( this.isViewPage ) {
|
||||||
$links.click( ve.bind( this.onEditSectionLinkClick, this ) );
|
$links.click( ve.bind( this.onEditSectionLinkClick, this ) );
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue