diff options
-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 |