浏览代码

Remove incorrect parenthesis from setTimeout call.

Xandertje 10 年之前
父节点
当前提交
d4cea151be
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/extensions/mobile/bootstrap-table-mobile.js

+ 1 - 1
src/extensions/mobile/bootstrap-table-mobile.js

@@ -10,7 +10,7 @@
 
     var resetView = function (that) {
         if (that.options.height || that.options.showFooter) {
-            setTimeout(that.resetView(), 1);
+            setTimeout(that.resetView, 1);
         }
     };