mirror of
https://github.com/jimeh/fancy_input.git
synced 2026-02-19 11:36:41 +00:00
Fixed incorrect parameters in activate_selected() call when pressing ENTER.
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
break;
|
break;
|
||||||
case Self.keys.RETURN:
|
case Self.keys.RETURN:
|
||||||
if (Self.selected_result !== null) {
|
if (Self.selected_result !== null) {
|
||||||
Self.activate_selected($options);
|
Self.activate_selected($e, $options);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user