From 292e19888448599f5169cc158b00071e020e9c27 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Mon, 9 Aug 2021 09:37:59 -1000 Subject: [PATCH] luci-base: fix request timeout docstring The `timeout` is defined in milliseconds, not seconds. Signed-off-by: Paul Spooren --- modules/luci-base/htdocs/luci-static/resources/luci.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/luci.js b/modules/luci-base/htdocs/luci-static/resources/luci.js index 23853e2cc8..5699c9eb92 100644 --- a/modules/luci-base/htdocs/luci-static/resources/luci.js +++ b/modules/luci-base/htdocs/luci-static/resources/luci.js @@ -655,7 +655,7 @@ * Provides a password for HTTP basic authentication. * * @property {number} [timeout] - * Specifies the request timeout in seconds. + * Specifies the request timeout in milliseconds. * * @property {boolean} [credentials=false] * Whether to include credentials such as cookies in the request.