diff --git a/dist/components/api.js b/dist/components/api.js index 0db7cea18..961c1cb0f 100644 --- a/dist/components/api.js +++ b/dist/components/api.js @@ -484,7 +484,7 @@ $.api = $.fn.api = function(parameters) { translatedResponse = ( $.isFunction(settings.onResponse) ) ? module.is.expectingJSON() ? settings.onResponse.call(context, $.extend(true, {}, response)) - : settings.onResponse.call(conetxt, response) + : settings.onResponse.call(context, response) : false ; timeLeft = (timeLeft > 0) diff --git a/dist/semantic.js b/dist/semantic.js index 8113a8b96..3ddcc9396 100644 --- a/dist/semantic.js +++ b/dist/semantic.js @@ -19711,7 +19711,7 @@ $.api = $.fn.api = function(parameters) { translatedResponse = ( $.isFunction(settings.onResponse) ) ? module.is.expectingJSON() ? settings.onResponse.call(context, $.extend(true, {}, response)) - : settings.onResponse.call(conetxt, response) + : settings.onResponse.call(context, response) : false ; timeLeft = (timeLeft > 0) diff --git a/src/definitions/behaviors/api.js b/src/definitions/behaviors/api.js index 63b6ff2b1..91239a6c1 100644 --- a/src/definitions/behaviors/api.js +++ b/src/definitions/behaviors/api.js @@ -484,7 +484,7 @@ $.api = $.fn.api = function(parameters) { translatedResponse = ( $.isFunction(settings.onResponse) ) ? module.is.expectingJSON() ? settings.onResponse.call(context, $.extend(true, {}, response)) - : settings.onResponse.call(conetxt, response) + : settings.onResponse.call(context, response) : false ; timeLeft = (timeLeft > 0)