Skip to content

Commit e9002c4

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
(cherry picked from commit 97bc2d9)
1 parent 0a6ce1f commit e9002c4

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
@@ -33,6 +33,7 @@ $.widget("ui.selectable", $.ui.mouse, {
3333
var selectees;
3434
this.refresh = function() {
3535
selectees = $(self.options.filter, self.element[0]);
36+
selectees.addClass("ui-selectee");
3637
selectees.each(function() {
3738
var $this = $(this);
3839
var pos = $this.offset();

0 commit comments

Comments
 (0)