Fix code format

pull/61/head
Paal Joergensen 2019-04-08 11:19:38 +02:00
parent 665e5d424a
commit 5d7b480c3b
1 changed files with 5 additions and 3 deletions

View File

@ -346,7 +346,8 @@ H5P.OfflineRequestQueue = (function (RequestQueue, Dialog) {
if (isLoading) { if (isLoading) {
throbberWrapper.classList.add('show'); throbberWrapper.classList.add('show');
} else { }
else {
throbberWrapper.classList.remove('show'); throbberWrapper.classList.remove('show');
} }
}; };
@ -388,7 +389,8 @@ H5P.OfflineRequestQueue = (function (RequestQueue, Dialog) {
setTimeout(function () { setTimeout(function () {
offlineDialog.show(0); offlineDialog.show(0);
}, 100); }, 100);
} else { }
else {
offlineDialog.show(0); offlineDialog.show(0);
} }
} }
@ -431,4 +433,4 @@ H5P.OfflineRequestQueue = (function (RequestQueue, Dialog) {
}; };
return offlineRequestQueue; return offlineRequestQueue;
})(H5P.RequestQueue, H5P.ConfirmationDialog); })(H5P.RequestQueue, H5P.ConfirmationDialog);