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 a new issue