Skip to content

Commit 9f14d91

Browse files
Jiren PatelJiren Patel
authored andcommitted
User data- property to serch filter elements
1 parent c3a5581 commit 9f14d91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

filter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
this.dataModel.forEach(function(dm) {
102102
dm = dm[base.settings.root];
103103
var el = $(base.view(dm));
104-
el.attr({'id': base.settings.root + '_' + dm.id, 'tagjs': true});
104+
el.attr({'id': base.settings.root + '_' + dm.id, 'data-fjs': true});
105105
node.append(el);
106106
});
107107
},
@@ -268,7 +268,7 @@
268268

269269
hideShow: function(id_arr) {
270270
var id_str = "#" + this.settings.root + '_';
271-
$(this.parentNode + " > *[tagjs]").hide();
271+
$(this.parentNode + " > *[data-fjs]").hide();
272272

273273
id_arr.forEach(function(id) {
274274
$(id_str + id).show();

0 commit comments

Comments
 (0)