From: Florian Eckert Date: Fri, 7 Jun 2024 07:34:27 +0000 (+0200) Subject: luci-base: add missing css classes btn and cbi-button to ui.js X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=e9e9229b95b1b080de3093dfd7231e60073f7895;p=openwrt-luci.git luci-base: add missing css classes btn and cbi-button to ui.js Signed-off-by: Florian Eckert --- 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') ])])]) ]);