diff --git a/js/h5p-content-upgrade.js b/js/h5p-content-upgrade.js index 75e304a..d23ed24 100644 --- a/js/h5p-content-upgrade.js +++ b/js/h5p-content-upgrade.js @@ -1,3 +1,5 @@ +var H5PUpgrades = H5PUpgrades || {}; + (function ($) { var info, $container; @@ -168,7 +170,7 @@ ContentUpgrade.prototype.nextBatch = function (outData) { var self = this; - $.post(info.url, outData, function (inData) { + $.post(info.infoUrl, outData, function (inData) { if (!(inData instanceof Object)) { // Print errors from backend return self.setStatus(inData);