From: Bartosz DziewoƄski Date: Mon, 6 Feb 2017 20:03:57 +0000 (+0100) Subject: jquery.suggestions: Correct @return documentation X-Git-Tag: 1.31.0-rc.0~4144^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=f202c76f35c870f1dfb3d2c66876efeb36e84473;p=lhc%2Fweb%2Fwiklou.git jquery.suggestions: Correct @return documentation Follow-up to 0dca42efb4a1ae7bcd029bf02dbc49a6d7fb57df. Change-Id: Ia8c17d8169eb875d297b98a30002afb0eaa11233 --- diff --git a/resources/src/jquery/jquery.highlightText.js b/resources/src/jquery/jquery.highlightText.js index a6b93733a6..a14e3ebd38 100644 --- a/resources/src/jquery/jquery.highlightText.js +++ b/resources/src/jquery/jquery.highlightText.js @@ -81,7 +81,8 @@ * @param {string} [options.method='splitAndHighlight'] Method of matching to use, one of: * - 'splitAndHighlight': Split `matchString` on spaces, then match each word separately. * - 'prefixHighlight': Match `matchString` at the beginning of text only. - * @return {[type]} [description] + * @return {jQuery} + * @chainable */ $.fn.highlightText = function ( matchString, options ) { options = options || {};