diff --git a/mink-plugin/options.js b/mink-plugin/options.js index bf37496..e3a6105 100644 --- a/mink-plugin/options.js +++ b/mink-plugin/options.js @@ -261,8 +261,17 @@ function saveAndCloseOptionsPanel () { function restoreDefaults () { clearIgnorelist() clearTimemapCache() + resetAggregatorSelection() } + +function resetAggregatorSelection () { + let dropdown = document.querySelector('#aggregator') + dropdown.selectedIndex = 0 + saveAggregatorSource() +} + + function removeSelectedURIFromTimeMapCache () { const oURI = $('#cachedTimemaps option:selected').text() removeTMFromCache(oURI)