Browse Source

Stag-table-filter: temp disable highlight

Vijayakrishnan 3 years ago
parent
commit
79ad7c7ec7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      public/js/stag-table-filter.js

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

@@ -29,11 +29,11 @@
                     if (text.toLowerCase().indexOf(term) === -1) {
                     if (text.toLowerCase().indexOf(term) === -1) {
                         $(this).addClass('stag-filter-hide');
                         $(this).addClass('stag-filter-hide');
                     }
                     }
-                    else {
+                    /*else {
                         let re = new RegExp('(' + term + ')', 'ig');
                         let re = new RegExp('(' + term + ')', 'ig');
                         text = text.replace(re, '<span class="stag-filter-highlight">$&</span>');
                         text = text.replace(re, '<span class="stag-filter-highlight">$&</span>');
                         td.html(text);
                         td.html(text);
-                    }
+                    }*/
                 });
                 });
             }
             }
         }, 100);
         }, 100);