mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 15:35:03 -05:00
Fix #10646. Throw an Error object from .error() for IE's sake.
This commit is contained in:
@@ -531,7 +531,7 @@ jQuery.extend({
|
||||
},
|
||||
|
||||
error: function( msg ) {
|
||||
throw msg;
|
||||
throw new Error( msg );
|
||||
},
|
||||
|
||||
parseJSON: function( data ) {
|
||||
|
||||
Reference in New Issue
Block a user