소스 검색

Stag-table-filter: temp disable highlight

Vijayakrishnan 3 년 전
부모
커밋
79ad7c7ec7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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) {
                         $(this).addClass('stag-filter-hide');
                     }
-                    else {
+                    /*else {
                         let re = new RegExp('(' + term + ')', 'ig');
                         text = text.replace(re, '<span class="stag-filter-highlight">$&</span>');
                         td.html(text);
-                    }
+                    }*/
                 });
             }
         }, 100);