1 parent
b9d400d167
commit
119f3565f1
1 file changed
+2
-2
@@ -288,10 +288,10 @@
|
||||
* On select handler for search results
|
||||
* @param {string} langCode
|
||||
*/
|
||||
select: function ( langCode ) {
|
||||
select: function ( langCode, event ) {
|
||||
this.hide();
|
||||
if ( this.options.onSelect ) {
|
||||
this.options.onSelect.call( this, langCode );
|
||||
this.options.onSelect.call( this, langCode, event );
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user