Skip to content
Browse files

Selectable: add ui-selectee class to elements matching filter on refr…

…esh. Fixes #7716 - Selectable: new elements added programatically don't have class ui-selectee

(cherry picked from commit 97bc2d9)
  • Loading branch information...
1 parent 0a6ce1f commit e9002c4c8f04266497926419034ea44f62725bcf @rdworth rdworth committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/jquery.ui.selectable.js
View
1 ui/jquery.ui.selectable.js
@@ -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();

0 comments on commit e9002c4

Please sign in to comment.
Something went wrong with that request. Please try again.