diff --git a/IPython/html/static/base/js/utils.js b/IPython/html/static/base/js/utils.js index d782ebf..23b3dc3 100644 --- a/IPython/html/static/base/js/utils.js +++ b/IPython/html/static/base/js/utils.js @@ -598,11 +598,11 @@ define([ return new Promise(function(resolve, reject) { settings.success = function(data, status, jqXHR) { resolve(data); - } + }; settings.error = function(jqXHR, status, error) { log_ajax_error(jqXHR, status, error); reject(wrap_ajax_error(jqXHR, status, error)); - } + }; $.ajax(url, settings); }); };