mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Selectable: add ui-selectee class to elements matching filter on refresh. Fixes #7716 - Selectable: new elements added programatically don't have class ui-selectee
This commit is contained in:
1
ui/jquery.ui.selectable.js
vendored
1
ui/jquery.ui.selectable.js
vendored
@@ -34,6 +34,7 @@ $.widget("ui.selectable", $.ui.mouse, {
|
||||
var selectees;
|
||||
this.refresh = function() {
|
||||
selectees = $(self.options.filter, self.element[0]);
|
||||
selectees.addClass("ui-selectee");
|
||||
selectees.each(function() {
|
||||
var $this = $(this);
|
||||
var pos = $this.offset();
|
||||
|
||||
Reference in New Issue
Block a user