luci-mod-status: fix raw ipt counter buton style
authorJo-Philipp Wich <jo@mein.io>
Wed, 17 Mar 2021 08:12:09 +0000 (09:12 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 17 Mar 2021 08:12:09 +0000 (09:12 +0100)
Fixes: #4928
Fixes: b39b7fc0d2 ("luci-mod-status: allow displaying raw iptables counter values")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js

index dd58670694fd11d3a92a53acc520b3844a94b47f..be45f78a7e8f7755101df4374db09cd473d1b6c3 100644 (file)
@@ -332,6 +332,7 @@ return view.extend({
                                }, [ _('Hide empty chains') ]),
                                ' ',
                                E('button', {
                                }, [ _('Hide empty chains') ]),
                                ' ',
                                E('button', {
+                                       'class': 'cbi-button',
                                        'data-raw-counters': false,
                                        'click': ui.createHandlerFn(this, 'handleRawCounters')
                                }, [ _('Show raw counters') ]),
                                        'data-raw-counters': false,
                                        'click': ui.createHandlerFn(this, 'handleRawCounters')
                                }, [ _('Show raw counters') ]),