|
|
@@ -1116,11 +1116,6 @@
|
|
|
'</button>')
|
|
|
}
|
|
|
|
|
|
- if (this.options.showFullscreen) {
|
|
|
- this.$toolbar.find('button[name="fullscreen"]')
|
|
|
- .off('click').on('click', $.proxy(this.toggleFullscreen, this))
|
|
|
- }
|
|
|
-
|
|
|
if (this.options.showRefresh) {
|
|
|
html.push(Utils.sprintf(`<button class="btn${Utils.sprintf(' btn-%s', this.options.buttonsClass)}${Utils.sprintf(' btn-%s', this.options.iconSize)}" type="button" name="refresh" aria-label="refresh" title="%s">`,
|
|
|
this.options.formatRefresh()),
|
|
|
@@ -1184,6 +1179,11 @@
|
|
|
.off('click').on('click', $.proxy(this.togglePagination, this))
|
|
|
}
|
|
|
|
|
|
+ if (this.options.showFullscreen) {
|
|
|
+ this.$toolbar.find('button[name="fullscreen"]')
|
|
|
+ .off('click').on('click', $.proxy(this.toggleFullscreen, this))
|
|
|
+ }
|
|
|
+
|
|
|
if (this.options.showRefresh) {
|
|
|
this.$toolbar.find('button[name="refresh"]')
|
|
|
.off('click').on('click', $.proxy(this.refresh, this))
|