mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
remove unused function
This commit is contained in:
@@ -228,12 +228,6 @@ export default {
|
|||||||
// removes the event listener checkSettingsVisibility when the collapsible is hidden
|
// removes the event listener checkSettingsVisibility when the collapsible is hidden
|
||||||
document.removeEventListener("click", this.checkSettingsVisibility);
|
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() {
|
calcSearchResultHeight: function() {
|
||||||
const rect = this.$refs.results.getBoundingClientRect();
|
const rect = this.$refs.results.getBoundingClientRect();
|
||||||
if( rect.height > 0 && rect.height < (window.innerHeight * 0.8) ) {
|
if( rect.height > 0 && rect.height < (window.innerHeight * 0.8) ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user