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:
Stephane Bisson 2017-01-20 10:48:32 -05:00
parent 1ab77e6a2d
commit fcbc0ea2bc

View file

@ -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 );