diff options
author | Florian Eckert <fe@dev.tdt.de> | 2024-06-07 09:44:23 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2024-06-07 13:33:00 +0200 |
commit | 5eeb0856dcac2de5ce9bc9fcc110c0d4f01856b3 (patch) | |
tree | 88aaa8508ad7b08698f48221531620c9c77334ea /modules/luci-base/htdocs/luci-static | |
parent | 0466acb85f9d0c03e7efc14ac0433ea389ae20d2 (diff) |
luci-base: add missing css class cbi-button to ui.js
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-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 9242ad5bba..78a6d1a86f 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -4235,7 +4235,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { } }), E('button', { - 'class': 'btn', + 'class': 'btn cbi-button', 'click': function(ev) { ev.target.previousElementSibling.click(); } @@ -4243,7 +4243,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { ]), E('div', { 'class': 'right', 'style': 'flex:1' }, [ E('button', { - 'class': 'btn', + 'class': 'btn cbi-button', 'click': function() { UI.prototype.hideModal(); rejectFn(new Error(_('Upload has been cancelled'))); |