TitleOptionWidget: Documentation type fix
authorEd Sanders <esanders@wikimedia.org>
Tue, 20 Aug 2019 14:13:30 +0000 (16:13 +0200)
committerEd Sanders <esanders@wikimedia.org>
Tue, 20 Aug 2019 14:13:30 +0000 (16:13 +0200)
Change-Id: I6ea4a1749a373c64e12d5c0ee1e5d55953523205

resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js

index a5b71b9..0eb1134 100644 (file)
@@ -23,7 +23,7 @@
         * @cfg {boolean} [redirect] Page is a redirect
         * @cfg {boolean} [disambiguation] Page is a disambiguation page
         * @cfg {string} [query] Matching query string to highlight
-        * @cfg {string} [compare] String comparison function for query highlighting
+        * @cfg {Function} [compare] String comparison function for query highlighting
         */
        mw.widgets.TitleOptionWidget = function MwWidgetsTitleOptionWidget( config ) {
                var icon;