Fire hook when user clicks language button

This allows us to correctly instrument (via the
UniversalLanguageSelector instrument) this action so interaction rates
between treatments can be compared.

Bug: T273232
Bug: T273928
Change-Id: Icc64044d51c567482d4f286637366cefb7beeb3e
This commit is contained in:
Sam Smith
2021-05-04 15:33:05 +01:00
committed by jenkins-bot
parent 5278a672fe
commit c914a7d0ab

View File

@@ -473,6 +473,8 @@
!standalone !standalone
); );
mw.hook( 'mw.uls.compact_language_links.open' ).fire();
// Trigger the click handler to open ULS once ready // Trigger the click handler to open ULS once ready
if ( standalone ) { if ( standalone ) {
// Provide access to display and input settings if this entry point is the single point // Provide access to display and input settings if this entry point is the single point