Permalink
Browse files

Fixes #2595 — Hidden “click to expand contents” text now changes dep…

…ending on current expanded/hidden state.
  • Loading branch information...
Wilto committed Oct 4, 2011
1 parent 1c5fd4c commit 4ed1e6ac11a6d0f94efe7bd5ca5393c01d0fd3bb
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 )

0 comments on commit 4ed1e6a

Please sign in to comment.