From 48f8d2dfe35dcd448d19b8be56546af437722226 Mon Sep 17 00:00:00 2001 From: Luis Felipe Schenone Date: Mon, 21 Jul 2014 12:51:33 +0800 Subject: [PATCH] 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 --- resources/src/jquery/jquery.makeCollapsible.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); }; -- 2.20.1