Explorar el Código

Stag-table-filter: highlight issue - temp fix

Vijayakrishnan hace 3 años
padre
commit
f459300a68
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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');
                     }