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 8c6a29a45cba64724bd726e52719eabbfa8528a6)
This commit is contained in:
parent
7abec3b04f
commit
ca66b630c0
@ -251,11 +251,9 @@ return view.extend({
|
||||
|
||||
|
||||
if ((!is_valid || is_too_big) && is_forceable)
|
||||
body.push(E('p', {}, E('label', { 'class': 'btn alert-message danger' }, [
|
||||
force, ' ', _('Force upgrade'),
|
||||
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!')
|
||||
])));
|
||||
body.push(E('p', { 'class': 'alert-message danger' }, [
|
||||
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!')
|
||||
]));
|
||||
|
||||
var cntbtn = E('button', {
|
||||
'class': 'btn cbi-button-action important',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user