From 4ed1e6ac11a6d0f94efe7bd5ca5393c01d0fd3bb Mon Sep 17 00:00:00 2001 From: Mat Marquis Date: Tue, 4 Oct 2011 14:01:08 -0400 Subject: [PATCH] =?UTF-8?q?Fixes=20#2595=20=E2=80=94=20Hidden=20=E2=80=9Cc?= =?UTF-8?q?lick=20to=20expand=20contents=E2=80=9D=20text=20now=20changes?= =?UTF-8?q?=20depending=20on=20current=20expanded/hidden=20state.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/jquery.mobile.collapsible.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.collapsible.js b/js/jquery.mobile.collapsible.js index 67d69e13f80..a416276eb7c 100644 --- a/js/jquery.mobile.collapsible.js +++ b/js/jquery.mobile.collapsible.js @@ -120,7 +120,7 @@ $.widget( "mobile.collapsible", $.mobile.widget, { collapsibleHeading .toggleClass( "ui-collapsible-heading-collapsed", isCollapse) .find( ".ui-collapsible-heading-status" ) - .text( o.expandCueText ) + .text( isCollapse ? o.expandCueText : o.collapseCueText ) .end() .find( ".ui-icon" ) .toggleClass( "ui-icon-minus", !isCollapse )