forked from mbk-lab/rui_orig
2
0
Fork 0

Bug fixing

This commit is contained in:
anoshenko 2023-05-02 18:58:57 +03:00
parent 43a8b9fe58
commit b7a0aa9a6d
1 changed files with 4 additions and 0 deletions

View File

@ -1992,6 +1992,10 @@ function mouseLeaveEvent(element, event) {
sendMessage("mouse-leave{session=" + sessionID + ",id=" + element.id + mouseEventData(element, event) + "}"); sendMessage("mouse-leave{session=" + sessionID + ",id=" + element.id + mouseEventData(element, event) + "}");
} }
function stopEventPropagation(element, event) {
event.stopPropagation();
}
function setCssVar(tag, value) { function setCssVar(tag, value) {
const root = document.querySelector(':root'); const root = document.querySelector(':root');
if (root) { if (root) {