Instantiate with jQuery elements from .each when clearing info bar
fae13a75319f introduced clearing per kind but .each method return DOM element instead of jQuery instance.
This commit is contained in:
1 parent
f1a2f77405
commit
c2f8c05724
1 file changed
+2
-1
+2
-1
@@ -101,7 +101,8 @@
|
||||
});
|
||||
},
|
||||
clear: function() {
|
||||
var kinds = this.el.children().each((i, el) => el.data('kind'));
|
||||
var kinds = this.el.children().each(
|
||||
(i, el) => jQuery(el).data('kind'));
|
||||
new Set(kinds).forEach(kind => {
|
||||
this.refresh(kind);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user