diff options
author | Florian Eckert <fe@dev.tdt.de> | 2024-06-07 09:34:27 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2024-06-07 13:33:00 +0200 |
commit | e9e9229b95b1b080de3093dfd7231e60073f7895 (patch) | |
tree | a1f8f36dc4c421c033669cb355ad7cc582c6f9a4 /modules/luci-base/htdocs | |
parent | 15ed7dcd55d3f458ff5ebab96723a45eae228d3f (diff) |
luci-base: add missing css classes btn and cbi-button to ui.js
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-base/htdocs')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/ui.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 90ff86b75a..99bfb8052f 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -4483,7 +4483,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { E('br'), list, E('div', { 'class': 'right' }, [ E('button', { - 'class': 'btn', + 'class': 'btn cbi-button', 'click': UI.prototype.hideModal }, [ _('Close') ]), ' ', new UIComboButton('0', { @@ -4497,7 +4497,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { click: L.bind(function(ev, mode) { this.apply(mode == '0') }, this) }).render(), ' ', E('button', { - 'class': 'cbi-button cbi-button-reset', + 'class': 'btn cbi-button cbi-button-reset', 'click': L.bind(this.revert, this) }, [ _('Revert') ])])]) ]); |