luci-mod-system: remove bogus btn class in flash.js

* fixes #4970

Signed-off-by: Dirk Brenken <dev@brenken.org>
[omit translation sync]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 8c6a29a45c)
This commit is contained in:
Dirk Brenken 2021-04-14 14:12:06 +02:00 committed by Jo-Philipp Wich
parent 7abec3b04f
commit ca66b630c0

View file

@ -251,11 +251,9 @@ return view.extend({
if ((!is_valid || is_too_big) && is_forceable) if ((!is_valid || is_too_big) && is_forceable)
body.push(E('p', {}, E('label', { 'class': 'btn alert-message danger' }, [ body.push(E('p', { 'class': 'alert-message danger' }, [
force, ' ', _('Force upgrade'), force, ' ', _('Force upgrade: Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!')
E('br'), E('br'), ]));
_('Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!')
])));
var cntbtn = E('button', { var cntbtn = E('button', {
'class': 'btn cbi-button-action important', 'class': 'btn cbi-button-action important',