diff --git a/sui/core/injections.go b/sui/core/injections.go index 49250e7f..12fe01fe 100644 --- a/sui/core/injections.go +++ b/sui/core/injections.go @@ -140,7 +140,10 @@ const libsuisource = ` } }) } - handler && handler(event, data, root, target); + handler && handler(event, data, { + rootElement: root, + targetElement: target + }); }; function __sui_store(elm) {