From: Florian Eckert Date: Fri, 19 Jul 2024 09:01:55 +0000 (+0200) Subject: luci-mod-network: revert replacing button tags with div tags X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F7200%2Fhead;p=project%2Fluci.git luci-mod-network: revert replacing button tags with div tags Signed-off-by: Florian Eckert --- 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 71e97a7fff..bacf530f14 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', '');