Merge pull request #305 from amire80/T189582
Pass the event object when calling the click handler
This commit is contained in:
@@ -408,8 +408,8 @@
|
||||
var lcd = this;
|
||||
|
||||
if ( this.options.clickhandler ) {
|
||||
this.$element.on( 'click', '.row li', function () {
|
||||
lcd.options.clickhandler.call( this, $( this ).data( 'code' ) );
|
||||
this.$element.on( 'click', '.row li', function ( event ) {
|
||||
lcd.options.clickhandler.call( this, $( this ).data( 'code' ), event );
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user