summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-06-07 12:08:19 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-06-07 13:33:00 +0200
commitce34e99400aa376bb9a9ced9b7b5d5fe330cdb43 (patch)
treec3f214874bfeca05e7074fb5c300dd80f54c931f
parentf6bc735b68bf40a54ce2c47a9a16948377633482 (diff)
luci-base: replace button tag with div tag in ui.js
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js6
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 20649e0f8a..ec94507cd8 100644
--- a/modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/modules/luci-base/htdocs/luci-static/resources/ui.js
@@ -4734,15 +4734,15 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
E('p', _('Any IP change requires <strong>connecting to the new IP</strong> within %d seconds to retain the changes.').format(L.env.apply_rollback)),
E('p', _('Choose how to apply changes:')),
E('div', { 'class': 'right' }, [
- E('button', {
+ E('div', {
'class': 'btn cbi-button',
'click': rejectFn,
}, [ _('Cancel') ]), ' ',
- E('button', {
+ E('div', {
'class': 'btn cbi-button-action important',
'click': resolveFn.bind(null, true)
}, [ _('Apply, reverting if GUI remains unreachable') ]), ' ',
- E('button', {
+ E('div', {
'class': 'btn cbi-button-negative important',
'click': resolveFn.bind(null, false)
}, [ _('Apply, committing now') ])