Commit
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
$('#input-value').keydown(function (e) {
|
||||
if (e.keyCode != 13) return;
|
||||
var currentValue = $('#input-value').val();
|
||||
|
||||
mp.trigger('submitText', currentValue);
|
||||
|
||||
if (currentValue) {
|
||||
mp.trigger('cef_inputhelper_sendvalue', currentValue);
|
||||
console.log("triggered event: " + currentValue);
|
||||
|
||||
Reference in New Issue
Block a user