Browse Source

Fix cardView tableContainer typo.

zhixin 10 years ago
parent
commit
467336d437
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1802,7 +1802,7 @@
         if (this.options.cardView) {
         if (this.options.cardView) {
             // remove the element css
             // remove the element css
             that.$el.css('margin-top', '0');
             that.$el.css('margin-top', '0');
-            $tableContainer.css('padding-bottom', '0');
+            this.$tableContainer.css('padding-bottom', '0');
             return;
             return;
         }
         }