From ce34e99400aa376bb9a9ced9b7b5d5fe330cdb43 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 7 Jun 2024 12:08:19 +0200 Subject: [PATCH] luci-base: replace button tag with div tag in ui.js Signed-off-by: Florian Eckert --- modules/luci-base/htdocs/luci-static/resources/ui.js | 6 +++--- 1 file 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 connecting to the new IP 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') ]) -- 2.30.2