summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-06-07 09:37:11 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-06-07 13:33:00 +0200
commit4440b00b2b732923bb1092082980856e35bb4f5e (patch)
tree91b676f2d9ff9ee1a5b6c5214e3aa882d0d3d18b /modules/luci-base/htdocs/luci-static/resources
parente9e9229b95b1b080de3093dfd7231e60073f7895 (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')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js4
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 99bfb8052f..4170ac366f 100644
--- a/modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/modules/luci-base/htdocs/luci-static/resources/ui.js
@@ -4482,7 +4482,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
E('var', {}, E('del', '&#160;')), ' ', _('Option removed') ])]),
E('br'), list,
E('div', { 'class': 'right' }, [
- E('button', {
+ E('div', {
'class': 'btn cbi-button',
'click': UI.prototype.hideModal
}, [ _('Close') ]), ' ',
@@ -4496,7 +4496,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
},
click: L.bind(function(ev, mode) { this.apply(mode == '0') }, this)
}).render(), ' ',
- E('button', {
+ E('div', {
'class': 'btn cbi-button cbi-button-reset',
'click': L.bind(this.revert, this)
}, [ _('Revert') ])])])