浏览代码

Added show/hide row

Dennis Hernández 10 年之前
父节点
当前提交
be88dfb9eb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/bootstrap-table.js

+ 2 - 2
src/bootstrap-table.js

@@ -1423,9 +1423,9 @@
 
 
         if (visible) {
         if (visible) {
             this.$selectItem.filter(sprintf('[data-index="%s"]', index)).parents('tr').css('display', 'table-row');
             this.$selectItem.filter(sprintf('[data-index="%s"]', index)).parents('tr').css('display', 'table-row');
-		} else {
+        } else {
             this.$selectItem.filter(sprintf('[data-index="%s"]', index)).parents('tr').css('display', 'none');
             this.$selectItem.filter(sprintf('[data-index="%s"]', index)).parents('tr').css('display', 'none');
-		}
+        }
 	};
 	};
 
 
     // PUBLIC FUNCTION DEFINITION
     // PUBLIC FUNCTION DEFINITION