From bba908ba98c93cb41d2fd0d33e41718497c5c8c1 Mon Sep 17 00:00:00 2001 From: sbwml Date: Sat, 24 Aug 2024 18:47:40 +0800 Subject: [PATCH] luci-app-mosdns: adjust the delay for loading codemirror configuration * enough time to complete loading of codemirror resources. * fix #243 Signed-off-by: sbwml --- .../htdocs/luci-static/resources/view/mosdns/basic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-mosdns/htdocs/luci-static/resources/view/mosdns/basic.js b/luci-app-mosdns/htdocs/luci-static/resources/view/mosdns/basic.js index d8cabff..b7f1de0 100644 --- a/luci-app-mosdns/htdocs/luci-static/resources/view/mosdns/basic.js +++ b/luci-app-mosdns/htdocs/luci-static/resources/view/mosdns/basic.js @@ -399,7 +399,7 @@ return view.extend({ theme: "dracula" }); } - }, 150); + }, 600); o = s.taboption('basic', form.TextValue, '_custom', _('Configuration Editor'), _('This is the content of the file \'/etc/mosdns/config_custom.yaml\' from which your MosDNS configuration will be generated. \ Only accepts configuration content in yaml format.'));