Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[popup] Restrict the application of the exclusions to the recording o…

…f the new option value in the data-* attributes. Do still chain up to mobile.widget with every option.
  • Loading branch information...
commit 7ea42af72c5323d80287fb34409744e006354c14 1 parent d54ac70
Gabriel "_|Nix|_" Schulhof gabrielschulhof authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/widgets/popup.js
2  js/widgets/popup.js
View
@@ -336,9 +336,9 @@ define( [ "jquery",
"container"
];
+ $.mobile.widget.prototype._setOption.apply( this, arguments );
if ( exclusions.indexOf( key ) === -1 ) {
// Record the option change in the options and in the DOM data-* attributes
- $.mobile.widget.prototype._setOption.apply( this, arguments );
this.element.attr( "data-" + ( $.mobile.ns || "" ) + ( key.replace( /([A-Z])/, "-$1" ).toLowerCase() ), value );
}
},
Please sign in to comment.
Something went wrong with that request. Please try again.