diff options
author | Florian Eckert <fe@dev.tdt.de> | 2024-06-07 09:45:25 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2024-06-07 13:33:00 +0200 |
commit | f83e68bea0f2590980a3befe5bc219209a7cf9a0 (patch) | |
tree | 2a7e86fcca8ef4d7257f8ebdc67a904202b12bab /modules/luci-base/htdocs/luci-static/resources/ui.js | |
parent | 5eeb0856dcac2de5ce9bc9fcc110c0d4f01856b3 (diff) |
luci-base: replace button tag with div tag in ui.js
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources/ui.js')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/ui.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 78a6d1a86f..aef84fad80 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -4234,7 +4234,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { upload.focus(); } }), - E('button', { + E('div', { 'class': 'btn cbi-button', 'click': function(ev) { ev.target.previousElementSibling.click(); @@ -4242,7 +4242,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { }, [ _('Browse…') ]) ]), E('div', { 'class': 'right', 'style': 'flex:1' }, [ - E('button', { + E('div', { 'class': 'btn cbi-button', 'click': function() { UI.prototype.hideModal(); @@ -4250,7 +4250,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { } }, [ _('Cancel') ]), ' ', - E('button', { + E('div', { 'class': 'btn cbi-button-action important', 'disabled': true, 'click': function(ev) { |