mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Remove calls to debouncedUpdateThemeClasses
debouncedUpdateThemeClasses doesn't seem to exist anymore in ooui. I'm not sure what this function call was for. My limited testing has reveal no obvious problems after removing it. Bug: T155800 Change-Id: If9ab35ed57e51b103cc5474ea902da390abaf69d
This commit is contained in:
parent
1ab77e6a2d
commit
fcbc0ea2bc
|
@ -81,8 +81,6 @@
|
|||
href: $existingMessageLink.attr( 'href' )
|
||||
}
|
||||
);
|
||||
// HACK: avoid late debouncedUpdateThemeClasses
|
||||
mw.echo.ui.messageWidget.badgeButton.debouncedUpdateThemeClasses();
|
||||
// Replace the link button with the ooui button
|
||||
$existingMessageLink.parent().replaceWith( mw.echo.ui.messageWidget.$element );
|
||||
}
|
||||
|
@ -111,8 +109,6 @@
|
|||
.text( mw.msg( 'mytalk' ) );
|
||||
} );
|
||||
|
||||
// HACK: avoid late debouncedUpdateThemeClasses
|
||||
mw.echo.ui.alertWidget.badgeButton.debouncedUpdateThemeClasses();
|
||||
// Replace the link button with the ooui button
|
||||
$existingAlertLink.parent().replaceWith( mw.echo.ui.alertWidget.$element );
|
||||
|
||||
|
|
Loading…
Reference in a new issue