jquery.makeCollapsible: Fix typo in documentation
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 8 May 2018 14:17:41 +0000 (16:17 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 8 May 2018 14:17:41 +0000 (16:17 +0200)
Change-Id: Iaf53f0e460bc8684f0925c2f3963d988f8624aa4

resources/src/jquery/jquery.makeCollapsible.js

index 503e3a6..e355196 100644 (file)
         *   expand the element. Default: the 'data-expandtext' attribute of the
         *   collapsible element or the content of 'collapsible-expand' message.
         * @param {boolean} [options.collapsed] Whether to collapse immediately. By default
-        *   collapse only if the elements has the 'mw-collapsible' class.
+        *   collapse only if the element has the 'mw-collapsed' class.
         * @param {jQuery} [options.$customTogglers] Elements to be used as togglers
         *   for this collapsible element. By default, if the collapsible element
         *   has an id attribute like 'mw-customcollapsible-XXX', elements with a