Content-Length: 211241 | pFad | https://github.com/jquery/jquery-mobile/commit/b0e6839da5aeee63faf136e72b71bc834e0c8cad

6F [popup] Use $.inArray, because IE does not seem to have .indexOf() on… · jquery-archive/jquery-mobile@b0e6839 · GitHub
Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
[popup] Use $.inArray, because IE does not seem to have .indexOf() on…
Browse files Browse the repository at this point in the history
… arrays
  • Loading branch information
Gabriel Schulhof committed Sep 15, 2012
1 parent e8f7479 commit b0e6839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ define( [ "jquery",
];

$.mobile.widget.prototype._setOption.apply( this, arguments );
if ( exclusions.indexOf( key ) === -1 ) {
if ( $.inArray( key, exclusions ) === -1 ) {
// Record the option change in the options and in the DOM data-* attributes
this.element.attr( "data-" + ( $.mobile.ns || "" ) + ( key.replace( /([A-Z])/, "-$1" ).toLowerCase() ), value );
}
Expand Down

0 comments on commit b0e6839

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/jquery/jquery-mobile/commit/b0e6839da5aeee63faf136e72b71bc834e0c8cad

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy