Skip to content

Commit 97bc2d9

Browse files
committed
Selectable: add ui-selectee class to elements matching filter on refresh. Fixes #7716 - Selectable: new elements added programatically don't have class ui-selectee
1 parent e5464f8 commit 97bc2d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/jquery.ui.selectable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ $.widget("ui.selectable", $.ui.mouse, {
3434
var selectees;
3535
this.refresh = function() {
3636
selectees = $(self.options.filter, self.element[0]);
37+
selectees.addClass("ui-selectee");
3738
selectees.each(function() {
3839
var $this = $(this);
3940
var pos = $this.offset();

0 commit comments

Comments
 (0)