Skip to content

Commit

Permalink
luci-mod-network: revert replacing button tags with div tags
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
  • Loading branch information
feckert committed Jul 19, 2024
1 parent e229e1a commit 711fafe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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', '');
Expand Down

0 comments on commit 711fafe

Please sign in to comment.