From 886c631461f0b0d36506b027309559ec776cf8d1 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Wed, 22 Apr 2015 10:58:59 +0200 Subject: [PATCH] Use correct variable. --- js/h5p.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/h5p.js b/js/h5p.js index b77a113..16648c1 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -1636,7 +1636,7 @@ H5P.createTitle = function(rawTitle, maxLength) { // Cache in preloaded if (content.contentUserData === undefined) { - content.contentUserData = preloaded = {}; + content.contentUserData = preloadedData = {}; } if (preloadedData[subContentId] === undefined) { preloadedData[subContentId] = {};