浏览代码

fix #4289: Fixed columns title error

zhixin 6 年之前
父节点
当前提交
78465c7eac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -560,7 +560,7 @@ class BootstrapTable {
     if (o.showColumns) {
     if (o.showColumns) {
       html.push(`<div class="keep-open ${this.constants.classes.buttonsDropdown}" title="${o.formatColumns()}">
       html.push(`<div class="keep-open ${this.constants.classes.buttonsDropdown}" title="${o.formatColumns()}">
         <button class="${this.constants.buttonsClass} dropdown-toggle" type="button" data-toggle="dropdown"
         <button class="${this.constants.buttonsClass} dropdown-toggle" type="button" data-toggle="dropdown"
-        aria-label="Columns" title="${o.formatFullscreen()}">
+        aria-label="Columns" title="${o.formatColumns()}">
         ${Utils.sprintf(this.constants.html.icon, o.iconsPrefix, o.icons.columns)}
         ${Utils.sprintf(this.constants.html.icon, o.iconsPrefix, o.icons.columns)}
         ${this.constants.html.dropdownCaret}
         ${this.constants.html.dropdownCaret}
         </button>
         </button>