From 7bc192798f8f6e1dee34891b56f3bf60ab320f3d Mon Sep 17 00:00:00 2001
From: Frode Petterson <frode.petterson@joubel.com>
Date: Mon, 26 Apr 2021 16:14:05 +0200
Subject: [PATCH] Fix edge case crashes after resetting the editor

---
 scripts/h5peditor.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/h5peditor.js b/scripts/h5peditor.js
index aea16b9b..c88e1186 100644
--- a/scripts/h5peditor.js
+++ b/scripts/h5peditor.js
@@ -283,6 +283,7 @@ ns.resetLoadedLibraries = function () {
   H5PIntegration.loadedJs = [];
   ns.loadedCallbacks = [];
   ns.libraryLoaded = {};
+  ns.libraryCache = {};
 };
 
 /**
-- 
GitLab