Skip to content

Commit b761496

Browse files
committed
moved typeof check to jQuery.type()
1 parent bf9c071 commit b761496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
parseUrl: function( url ) {
4646
// If we're passed an object, we'll assume that it is
4747
// a parsed url object and just return it back to the caller.
48-
if ( typeof url === "object" ) {
48+
if ( $.type( url ) === "object" ) {
4949
return url;
5050
}
5151

0 commit comments

Comments
 (0)