From 5d7b480c3b6ba41c2f27bdf06f93dfcd389cddd4 Mon Sep 17 00:00:00 2001 From: Paal Joergensen Date: Mon, 8 Apr 2019 11:19:38 +0200 Subject: [PATCH] Fix code format --- js/request-queue.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/js/request-queue.js b/js/request-queue.js index 5d865c9..5b367e1 100644 --- a/js/request-queue.js +++ b/js/request-queue.js @@ -346,7 +346,8 @@ H5P.OfflineRequestQueue = (function (RequestQueue, Dialog) { if (isLoading) { throbberWrapper.classList.add('show'); - } else { + } + else { throbberWrapper.classList.remove('show'); } }; @@ -388,7 +389,8 @@ H5P.OfflineRequestQueue = (function (RequestQueue, Dialog) { setTimeout(function () { offlineDialog.show(0); }, 100); - } else { + } + else { offlineDialog.show(0); } } @@ -431,4 +433,4 @@ H5P.OfflineRequestQueue = (function (RequestQueue, Dialog) { }; return offlineRequestQueue; -})(H5P.RequestQueue, H5P.ConfirmationDialog); \ No newline at end of file +})(H5P.RequestQueue, H5P.ConfirmationDialog);