Remove extra else in parseJSON
This commit is contained in:
parent
a7e7dbd978
commit
3609bed9e7
1 changed files with 1 additions and 2 deletions
|
@ -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