diff --git a/src/html/index.html b/src/html/index.html index b97508a..935bc84 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -4,6 +4,7 @@ ToL Mod Utility + diff --git a/src/js/index.js b/src/js/index.js index b439b63..942ccc1 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -194,6 +194,9 @@ const app = new Vue({ // eslint-disable-line no-undef this.currentHit = this.jumpToHit = 1; // Clear search results from prev. search + if (this.searchInput === '') return; + // For when re-running search on filter changes but there was no search input before the filter change + this.parsedChatLogs.forEach((log, index) => { let searchHit = false;