diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-09 16:05:34 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-09 16:05:34 -0400 |
commit | ae7567674d480fbccf25b685d4ddceef01efcdb4 (patch) | |
tree | 506d56843e647783a888bf65ce5bd721f798d684 /src/SMAPI.Web/wwwroot | |
parent | 07d07c79e00906f826cb6d3e7532f4a2ad2099ba (diff) | |
download | SMAPI-ae7567674d480fbccf25b685d4ddceef01efcdb4.tar.gz SMAPI-ae7567674d480fbccf25b685d4ddceef01efcdb4.tar.bz2 SMAPI-ae7567674d480fbccf25b685d4ddceef01efcdb4.zip |
restore data element unloading
Diffstat (limited to 'src/SMAPI.Web/wwwroot')
-rw-r--r-- | src/SMAPI.Web/wwwroot/Content/js/log-parser.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js index 5a12a521..59c6026c 100644 --- a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js +++ b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js @@ -166,6 +166,7 @@ smapi.logParser = function (state) { { const dataElement = document.querySelector(state.dataElement); state.data = JSON.parse(dataElement.textContent.trim()); + dataElement.remove(); // let browser unload the data element since we won't need it anymore } // preprocess data for display |