diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index b96f98234c..5679728b64 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -379,7 +379,7 @@ class BootstrapTable { if (column.checkbox) { text = '' if (!this.options.singleSelect && this.options.checkboxHeader) { - text = '' + text = '' } this.header.stateField = column.field } @@ -682,7 +682,7 @@ class BootstrapTable { html.push( Utils.sprintf(this.constants.html.toolbarDropdownItem, - Utils.sprintf(' %s', + Utils.sprintf('
%s
', allFieldsVisible ? 'checked="checked"' : '', opts.formatColumnsToggleAll()) ) ) @@ -712,7 +712,7 @@ class BootstrapTable { if (column.switchable) { html.push(Utils.sprintf(this.constants.html.toolbarDropdownItem, - Utils.sprintf(' %s', + Utils.sprintf('
%s
', column.field, i, checked, disabled, column.title))) switchableCount++ } @@ -1678,6 +1678,7 @@ class BootstrapTable { ``, `