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

Commit

Permalink
moved typeof check to jQuery.type()
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbender committed Jul 7, 2011
1 parent 13033e6 commit 61f8bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.mobile.navigation.js
Expand Up @@ -45,7 +45,7 @@
parseUrl: function( url ) {
// If we're passed an object, we'll assume that it is
// a parsed url object and just return it back to the caller.
if ( typeof url === "object" ) {
if ( $.type( url ) === "object" ) {
return url;
}

Expand Down

0 comments on commit 61f8bb2

Please sign in to comment.