Kaynağa Gözat

Stag-table-filter: highlight issue - temp fix

Vijayakrishnan 3 yıl önce
ebeveyn
işleme
f459300a68
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      public/js/stag-table-filter.js

+ 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');
                     }