Jo-Philipp Wich 388dae96c7 luci-mod-system: add missing require to none led trigger class
Also convert ES6 to ES5 syntax while we're at it.

Fixes: #5476
Fixes: 5b42cd5b46 ("luci-mod-system: move default option from defaul-on trigger to none trigger")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit fceabd74465f2aafc40edc084429f30837deff2c)
2021-11-01 21:42:47 +01:00

9 lines
160 B
JavaScript

'use strict';
'require baseclass';
return baseclass.extend({
trigger: _('Always on (kernel: default-on)'),
kernel: true,
addFormOptions: function(s) {}
});