You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bliss.delegate(document.body, "dragstart", "[draggable=true]", function(e) { /* nothing */ });
leads to the exception in the title if one drags a text, because a dragstart event runs, and is handled here:
Bliss.delegate(document.body, "dragstart", "[draggable=true]", function(e) { /* nothing */ });
leads to the exception in the title if one drags a text, because a dragstart event runs, and is handled here:
evt.target unfortunately is a text in this case, and has no closest() method.
A fix is simple:
if (evt.target.closest && evt.target.closest(selector)) {
(tested, works)
btw: bliss is great. thank you very much.
The text was updated successfully, but these errors were encountered: