Explorar o código

Stag-table-filter: highlight issue - temp fix

Vijayakrishnan %!s(int64=3) %!d(string=hai) anos
pai
achega
f459300a68
Modificáronse 1 ficheiros con 1 adicións e 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');
                     }