From 2135525b7213220476388fbed0d7525df712a937 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 12 Apr 2022 14:10:12 +0200 Subject: [PATCH] Revert "luci-mod-system: Set description to blank if the trigger has none" This reverts commit 3de544600385ca365c833aec99f89113daa12292. I have unfortunately edited the wrong line! Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/system/leds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js index d6f51d1f9b..c0cbd7a4f1 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js @@ -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) { -- 2.30.2