mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Remove extra else in parseJSON
This commit is contained in:
parent
a7e7dbd978
commit
3609bed9e7
@ -528,9 +528,8 @@ jQuery.extend({
|
||||
|
||||
return (new Function( "return " + data ))();
|
||||
|
||||
} else {
|
||||
jQuery.error( "Invalid JSON: " + data );
|
||||
}
|
||||
jQuery.error( "Invalid JSON: " + data );
|
||||
},
|
||||
|
||||
// Cross-browser xml parsing
|
||||
|
Loading…
Reference in New Issue
Block a user