mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00: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
(cherry picked from commit 97bc2d9de9
)
This commit is contained in:
parent
0a6ce1f7d1
commit
e9002c4c8f
1
ui/jquery.ui.selectable.js
vendored
1
ui/jquery.ui.selectable.js
vendored
@ -33,6 +33,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();
|
||||
|
Loading…
Reference in New Issue
Block a user