@@ -288,10 +288,10 @@
|
|||||||
* On select handler for search results
|
* On select handler for search results
|
||||||
* @param {string} langCode
|
* @param {string} langCode
|
||||||
*/
|
*/
|
||||||
select: function ( langCode ) {
|
select: function ( langCode, event ) {
|
||||||
this.hide();
|
this.hide();
|
||||||
if ( this.options.onSelect ) {
|
if ( this.options.onSelect ) {
|
||||||
this.options.onSelect.call( this, langCode );
|
this.options.onSelect.call( this, langCode, event );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user