Эх сурвалжийг харах

Stag-table-filter: highlight issue - temp fix

Vijayakrishnan 3 жил өмнө
parent
commit
f459300a68

+ 1 - 1
public/js/stag-table-filter.js

@@ -25,7 +25,7 @@
             if(!!term) {
                 trs.each(function () {
                     let td = $(this).find('td:eq(' + columnIndex + ')'),
-                        text = td.html();
+                        text = td.text();
                     if (text.toLowerCase().indexOf(term) === -1) {
                         $(this).addClass('stag-filter-hide');
                     }