luci-base: jsdoc grammar fix
authorPaul Donald <newtwen+github@gmail.com>
Thu, 12 Dec 2024 14:56:40 +0000 (15:56 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 12 Dec 2024 14:56:44 +0000 (15:56 +0100)
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
modules/luci-base/htdocs/luci-static/resources/uci.js

index 35110c0227b4b8fc73a8c2765475ac99e8e32653..1171588c733b07a90c3840183657bc647587b279 100644 (file)
@@ -449,7 +449,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ {
         *
         * @returns {Array<LuCI.uci.SectionObject>}
         * Returns a sorted array of the section objects within the given
-        * configuration, filtered by type of a type has been specified.
+        * configuration, filtered by type, if a type has been specified.
         */
        sections: function(conf, type, cb) {
                var sa = [ ],