1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2024-11-30 08:57:08 +02:00
This commit is contained in:
salexdv 2021-05-24 11:30:09 +03:00
parent 027c6b2ea6
commit 8125117b6d

View File

@ -44,7 +44,7 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
sendEvent = function(eventName, eventParams) {
let lastEvent = new MouseEvent('click');console.log(eventName, eventParams);
let lastEvent = new MouseEvent('click');
lastEvent.eventData1C = {event : eventName, params: eventParams};
return dispatchEvent(lastEvent);