luci-base: fix request timeout docstring
authorPaul Spooren <[email protected]>
Mon, 9 Aug 2021 19:37:59 +0000 (09:37 -1000)
committerPaul Spooren <[email protected]>
Mon, 9 Aug 2021 19:39:21 +0000 (09:39 -1000)
The `timeout` is defined in milliseconds, not seconds.

Signed-off-by: Paul Spooren <[email protected]>
modules/luci-base/htdocs/luci-static/resources/luci.js

index 23853e2cc89eb3363c0ff6b8163a5a08944722c9..5699c9eb92651c0982d9b06f24fcd1031b20ad85 100644 (file)
                 * 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.