From 711fafef1f6e0779b45c7a38583f2b3d3a2f0cf5 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 19 Jul 2024 11:01:55 +0200 Subject: [PATCH] luci-mod-network: revert replacing button tags with div tags Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/network/interfaces.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 71e97a7fffc6..bacf530f144f 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -176,7 +176,7 @@ function iface_updown(up, id, ev, force) { ui.showModal(_('Confirm disconnect'), [ E('p', _('You appear to be currently connected to the device via the "%h" interface. Do you really want to shut down the interface?').format(id)), E('div', { 'class': 'button-row' }, [ - E('div', { + E('button', { 'class': 'btn cbi-button cbi-button-neutral', 'click': function(ev) { btns[1].classList.remove('spinning'); @@ -187,7 +187,7 @@ function iface_updown(up, id, ev, force) { } }, _('Cancel')), ' ', - E('div', { + E('button', { 'class': 'btn cbi-button cbi-button-negative important', 'click': function(ev) { dsc.setAttribute('disconnect', '');