summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static/resources/luci.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources/luci.js')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/luci.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/luci.js b/modules/luci-base/htdocs/luci-static/resources/luci.js
index ca0e80a82a..24e17b9ad6 100644
--- a/modules/luci-base/htdocs/luci-static/resources/luci.js
+++ b/modules/luci-base/htdocs/luci-static/resources/luci.js
@@ -925,7 +925,7 @@
* @hideconstructor
* @classdesc
*
- * The `Request.poll` class provides some convince wrappers around
+ * The `Request.poll` class provides some convenience wrappers around
* {@link LuCI.poll} mainly to simplify registering repeating HTTP
* request calls as polling functions.
*/
@@ -980,7 +980,7 @@
opts = Object.assign({}, options, { timeout: ival * 1000 - 5 });
var fn = function() {
- return Request.request(url, options).then(function(res) {
+ return Request.request(url, opts).then(function(res) {
if (!Poll.active())
return;
@@ -2635,7 +2635,7 @@
*
* @param {string} feature
* The feature to test. For detailed list of known feature flags,
- * see `/modules/luci-base/root/usr/libexec/rpcd/luci`.
+ * see `/modules/luci-base/root/usr/share/rpcd/ucode/luci`.
*
* @param {string} [subfeature]
* Some feature classes like `hostapd` provide sub-feature flags,