We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2646daa commit b8d4178Copy full SHA for b8d4178
js/widgets/panel.js
@@ -223,7 +223,7 @@ $.widget( "mobile.panel", {
223
if ( this.href.split( "#" )[ 1 ] === self._panelID && self._panelID !== undefined ) {
224
e.preventDefault();
225
var link = $( this );
226
- if ( !link.hasClass( "ui-link" ) ) {
+ if ( link.hasClass( "ui-btn" ) ) {
227
link.addClass( $.mobile.activeBtnClass );
228
self.element.one( "panelopen panelclose", function() {
229
link.removeClass( $.mobile.activeBtnClass );
0 commit comments