Closed hrosenbauer closed 10 years ago
Function ignore_drag checks if event.target is a descendant of or the handle itself. This allows the handle to have child elements and dragging still works.
See http://jsbin.com/fuwunuyi/1/edit for a demo scenario: I added a span inside the header and now the widgets can't be dragged.
Function ignore_drag checks if event.target is a descendant of or the handle itself. This allows the handle to have child elements and dragging still works.