浏览代码

removed extra spaces

jorrigala 10 年之前
父节点
当前提交
86a63a7d84
共有 1 个文件被更改,包括 14 次插入14 次删除
  1. 14 14
      dist/bootstrap-table.js

+ 14 - 14
dist/bootstrap-table.js

@@ -1470,20 +1470,20 @@
                     type = column.radio ? 'radio' : type;
 
                     text = [that.options.cardView ?
-                            '<div class="card-view">' : '<td class="bs-checkbox">',
-                            '<input' +
-                            sprintf(' data-index="%s"', i) +
-                            sprintf(' name="%s"', that.options.selectItemName) +
-                            sprintf(' type="%s"', type) +
-                            sprintf(' value="%s"', item[that.options.idField]),
-                            column.formatter === undefined ?
-                            sprintf(' checked="%s"', value === true ||
-                               (value && value.checked) ? 'checked' : undefined) +
-                            sprintf(' disabled="%s"', !column.checkboxEnabled ||
-                                (value && value.disabled) ? 'disabled' : undefined) +
-                            ' />': ' />' + value,
-                            that.options.cardView ? '</div>' : '</td>'
-                        ].join('');
+                        '<div class="card-view">' : '<td class="bs-checkbox">',
+                        '<input' +
+                        sprintf(' data-index="%s"', i) +
+                        sprintf(' name="%s"', that.options.selectItemName) +
+                        sprintf(' type="%s"', type) +
+                        sprintf(' value="%s"', item[that.options.idField]),
+                        column.formatter === undefined ?
+                        sprintf(' checked="%s"', value === true ||
+                           (value && value.checked) ? 'checked' : undefined) +
+                        sprintf(' disabled="%s"', !column.checkboxEnabled ||
+                            (value && value.disabled) ? 'disabled' : undefined) +
+                        ' />': ' />' + value,
+                        that.options.cardView ? '</div>' : '</td>'
+                    ].join('');
 
                     item[that.header.stateField] = value === true || (value && value.checked);
                 } else {