diff --git a/modules/ve/ui/widgets/ve.ui.LanguageInputWidget.js b/modules/ve/ui/widgets/ve.ui.LanguageInputWidget.js index b84ee63372..26c266b452 100644 --- a/modules/ve/ui/widgets/ve.ui.LanguageInputWidget.js +++ b/modules/ve/ui/widgets/ve.ui.LanguageInputWidget.js @@ -76,6 +76,8 @@ ve.ui.LanguageInputWidget = function VeUiLanguageInputWidget( config ) { // Create a 'change language' Button: this.$button = new ve.ui.PushButtonWidget({ 'label': ve.msg( 'visualeditor-languageinspector-widget-changelang' ), + // Add 'href' so the button returns true on click and triggers ULS + 'href': '#', 'flags': ['primary'] });