From: Paul Spooren Date: Mon, 9 Aug 2021 19:37:59 +0000 (-1000) Subject: luci-base: fix request timeout docstring X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=292e19888448599f5169cc158b00071e020e9c27;p=openwrt-luci.git luci-base: fix request timeout docstring The `timeout` is defined in milliseconds, not seconds. Signed-off-by: Paul Spooren --- 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.