Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changing icon comparison to deep-equal

  • Loading branch information...
commit 1a0e3a45ecc69362bd89725b24cc5ecc39234aaf 1 parent a123d54
@MauriceG MauriceG authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/widgets/collapsible.js
View
2  js/widgets/collapsible.js
@@ -129,7 +129,7 @@ $.widget( "mobile.collapsible", $.mobile.widget, {
.find( ".ui-icon" )
.toggleClass( "ui-icon-" + expandedIcon, !isCollapse )
// logic or cause same icon for expanded/collapsed state would remove the ui-icon-class
- .toggleClass( "ui-icon-" + collapsedIcon, ( isCollapse || expandedIcon == collapsedIcon ) )
+ .toggleClass( "ui-icon-" + collapsedIcon, ( isCollapse || expandedIcon === collapsedIcon ) )
.end()
.find( "a" ).first().removeClass( $.mobile.activeBtnClass );
Please sign in to comment.
Something went wrong with that request. Please try again.