From 3e676f9e25d6027242a31e305c89dc1b073d81e8 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Tue, 7 Jan 2025 13:49:59 +0300 Subject: [PATCH] Fix trace and silent --- .../resources/view/youtubeUnblock/configuration.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-youtubeUnblock/htdocs/luci-static/resources/view/youtubeUnblock/configuration.js b/luci-app-youtubeUnblock/htdocs/luci-static/resources/view/youtubeUnblock/configuration.js index 24dac14..cdac11d 100644 --- a/luci-app-youtubeUnblock/htdocs/luci-static/resources/view/youtubeUnblock/configuration.js +++ b/luci-app-youtubeUnblock/htdocs/luci-static/resources/view/youtubeUnblock/configuration.js @@ -216,11 +216,11 @@ return view.extend({ o = s.option(form.Flag, "silent", _("Silent"), _("Disables verbose mode")); o.defalt = "0" - o.depends("trace", "0"); + o.depends({"trace": "1", "!reverse": true}); o = s.option(form.Flag, "trace", _("Trace"), _("Maximum verbosity for debug purposes")); o.defalt = "0" - o.depends("silent", "0"); + o.depends({"silent": "1", "!reverse": true}); o = s.option(form.Flag, "no_gso", _("No gso"), _("Disables support for Google Chrome fat packets which uses GSO. This feature is well tested now, so this flag probably won't fix anything."));