luci-mod-network: clarify device settings reset button tooltip
authorJo-Philipp Wich <jo@mein.io>
Tue, 1 Jun 2021 13:25:24 +0000 (15:25 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 1 Jun 2021 13:34:11 +0000 (15:34 +0200)
Ref: #5090
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index 11d96eecb37fe09900a0e206e0b6af219c0a9fd5..eacb2fb41610242c5ac1ef6e458c8aa8d5944ba7 100644 (file)
@@ -1139,6 +1139,7 @@ return view.extend({
                            deleteBtn = trEl.querySelector('button:last-child');
 
                        deleteBtn.firstChild.data = _('Reset');
+                       deleteBtn.setAttribute('title', _('Remove related device settings from the configuration'));
                        deleteBtn.disabled = section_id.match(/^dev:/) ? true : null;
 
                        return trEl;