diff --git a/WebfrontCore/WebfrontCore.csproj b/WebfrontCore/WebfrontCore.csproj index 31a011f39..b3e416e1f 100644 --- a/WebfrontCore/WebfrontCore.csproj +++ b/WebfrontCore/WebfrontCore.csproj @@ -70,6 +70,10 @@ + + + + @@ -98,4 +102,8 @@ + + + + diff --git a/WebfrontCore/wwwroot/js/loader.js b/WebfrontCore/wwwroot/js/loader.js index 126aebbed..cb47f1b00 100644 --- a/WebfrontCore/wwwroot/js/loader.js +++ b/WebfrontCore/wwwroot/js/loader.js @@ -7,12 +7,12 @@ let loadUri = ''; let loaderResponseId = ''; let additionalParams = []; -function initLoader(location, loaderId, count = 10, start = count, additional) { +function initLoader(location, loaderId, count = 10, start = count, additional = []) { loadUri = location; loaderResponseId = loaderId; loadCount = count; loaderOffset = start; - additionalParams = additional ?? []; + additionalParams = additional; setupListeners(); }