Tab spaces are removed.

Signed-off-by: Yunus Çağrı <ycagriyurdakul@gmail.com>
This commit is contained in:
Yunus Çağrı 2016-12-21 00:15:24 +03:00
parent 9aaf3126b8
commit 041cd61820

View File

@ -215,13 +215,13 @@ AJAX.registerOnload('db_structure.js', function () {
*
*/
$("#tableSearch").keyup(function() {
var filter = $(this).val().toUpperCase();
var filterInput = $(this).val().toUpperCase();
var structureTable = $('#structureTable')[0];
$('#structureTable tbody tr').each(function() {
var tr = $(this);
var a = tr.find('a')[0];
if (a) {
if (a.text.trim().toUpperCase().indexOf(filter) > -1) {
if (a.text.trim().toUpperCase().indexOf(filterInput) > -1) {
tr[0].style.display = "";
} else {
tr[0].style.display = "none";