mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
feat(draggable): CSS selectors support in ignore_dragging config opt
This commit is contained in:
@@ -350,7 +350,7 @@
|
||||
return !$(event.target).is(this.options.handle);
|
||||
}
|
||||
|
||||
return $.inArray(event.target.nodeName, this.options.ignore_dragging) >= 0;
|
||||
return $(event.target).is(this.options.ignore_dragging.join(', '));
|
||||
};
|
||||
|
||||
//jQuery adapter
|
||||
|
||||
Reference in New Issue
Block a user