0
0
mirror of https://github.com/openwrt/luci.git synced 2025-04-08 18:04:34 +00:00
Files
Jo-Philipp Wich fceabd7446 luci-mod-system: add missing require to none led trigger class
Also convert ES6 to ES5 syntax while we're at it.

Fixes: 
Fixes: 5b42cd5b46 ("luci-mod-system: move default option from defaul-on trigger to none trigger")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-31 22:27:46 +01:00

10 lines
219 B
JavaScript

'use strict';
'require baseclass';
return baseclass.extend({
trigger: _('Always on (kernel: default-on)'),
description: _('The LED is always in default state on.'),
kernel: true,
addFormOptions: function(s) {}
});