Browse Source

Uncaught TypeError: Cannot read property 'prop' of undefined #1468

Fix #1468
Dennis Hernández 10 years ago
parent
commit
38bb74708c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/extensions/mobile/bootstrap-table-mobile.js

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

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