ソースを参照

remove real height function.

zhixin 11 年 前
コミット
ca7e5b7ecc
1 ファイル変更1 行追加8 行削除
  1. 1 8
      src/bootstrap-table.js

+ 1 - 8
src/bootstrap-table.js

@@ -31,13 +31,6 @@
         return '';
         return '';
     };
     };
 
 
-    // get the element real height
-    var realHeight = function($el) {
-        var height = $el.wrap('<div style="border: 1px solid transparent;"></div>').parent().outerHeight(true);
-        $el.unwrap();
-        return height - 2;
-    };
-
     // BOOTSTRAP TABLE CLASS DEFINITION
     // BOOTSTRAP TABLE CLASS DEFINITION
     // ======================
     // ======================
 
 
@@ -369,7 +362,7 @@
 
 
     BootstrapTable.prototype.initPagination = function() {
     BootstrapTable.prototype.initPagination = function() {
         this.$pagination = this.$container.find('.fixed-table-pagination');
         this.$pagination = this.$container.find('.fixed-table-pagination');
-        
+
         if (!this.options.pagination) {
         if (!this.options.pagination) {
             return;
             return;
         }
         }