diff options
-rw-r--r-- | theme/assets/website/app.js | 2 | ||||
-rw-r--r-- | theme/javascript/toolbar.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/theme/assets/website/app.js b/theme/assets/website/app.js index 1e8d3c8..2434ad2 100644 --- a/theme/assets/website/app.js +++ b/theme/assets/website/app.js @@ -24922,7 +24922,7 @@ function updateButton(opts) { // Create button var $btn = $('<a>', { 'class': 'btn', - 'text': opts.text, + 'text': opts.text? ' ' + opts.text : '', 'aria-label': opts.label, 'href': '#' }); diff --git a/theme/javascript/toolbar.js b/theme/javascript/toolbar.js index de30493..647578f 100644 --- a/theme/javascript/toolbar.js +++ b/theme/javascript/toolbar.js @@ -117,7 +117,7 @@ function updateButton(opts) { // Create button var $btn = $('<a>', { 'class': 'btn', - 'text': opts.text, + 'text': opts.text? ' ' + opts.text : '', 'aria-label': opts.label, 'href': '#' }); |