Revert "luci-mod-system: Set description to blank if the trigger has none"

This reverts commit 3de5446003.

I have unfortunately edited the wrong line!

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2022-04-12 14:10:12 +02:00
parent ddd04a719f
commit 2135525b72

View file

@ -89,7 +89,7 @@ return view.extend({
var plugin = plugins[i];
if ( plugin.name === value )
this.map.findElement('id', 'cbid.system.%s.trigger'.format(section))
.nextElementSibling.innerHTML = plugin.form.description || ' ';
.nextElementSibling.innerHTML = plugin.form.description || '';
}
}
o.load = function(section_id) {