Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Fixes #2595 — Hidden “click to expand contents” text now changes depe…
Browse files Browse the repository at this point in the history
…nding on current expanded/hidden state.
  • Loading branch information
Wilto committed Oct 4, 2011
1 parent 1c5fd4c commit 4ed1e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.mobile.collapsible.js
Expand Up @@ -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 )
Expand Down

0 comments on commit 4ed1e6a

Please sign in to comment.