From: Luis Felipe Schenone Date: Mon, 21 Jul 2014 04:51:33 +0000 (+0800) Subject: Wrapped the brackets of the collapse buttons with spans X-Git-Tag: 1.31.0-rc.0~14820^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=48f8d2dfe35dcd448d19b8be56546af437722226;p=lhc%2Fweb%2Fwiklou.git Wrapped the brackets of the collapse buttons with spans To make them accessible via CSS, similarly to what has been done with the brackets of the edit buttons. Change-Id: I6b961b5f11f81e6e8ef768ba43fe7f20b886051a --- diff --git a/resources/src/jquery/jquery.makeCollapsible.js b/resources/src/jquery/jquery.makeCollapsible.js index a4dc33b98f..c4e2520328 100644 --- a/resources/src/jquery/jquery.makeCollapsible.js +++ b/resources/src/jquery/jquery.makeCollapsible.js @@ -273,8 +273,8 @@ .text( collapseText ) .wrap( '' ) .parent() - .prepend( ' [' ) - .append( '] ' ) + .prepend( '[' ) + .append( ']' ) .on( 'click.mw-collapsible keypress.mw-collapsible', actionHandler ); };