From cb1ff2ef1ab5ae896f620fc7c09a7faea78eec0b Mon Sep 17 00:00:00 2001 From: chfhtw Date: Wed, 30 Jul 2025 11:03:42 +0200 Subject: [PATCH] remove unused function --- public/js/components/searchbar/searchbar.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/public/js/components/searchbar/searchbar.js b/public/js/components/searchbar/searchbar.js index afaf93782..96a38d860 100644 --- a/public/js/components/searchbar/searchbar.js +++ b/public/js/components/searchbar/searchbar.js @@ -228,12 +228,6 @@ export default { // removes the event listener checkSettingsVisibility when the collapsible is hidden document.removeEventListener("click", this.checkSettingsVisibility); }, - allSearchOptions: function() { - this.searchsettings.types = []; - for( const idx in this.searchoptions.types ) { - this.searchsettings.types.push(this.searchoptions.types[idx]); - } - }, calcSearchResultHeight: function() { const rect = this.$refs.results.getBoundingClientRect(); if( rect.height > 0 && rect.height < (window.innerHeight * 0.8) ) {