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 )