package jalview.fts.core;
+import jalview.bin.Cache;
import jalview.fts.api.FTSDataColumnI;
import jalview.fts.api.GFTSPanelI;
import jalview.fts.core.FTSDataColumnPreferences.PreferenceSource;
import jalview.gui.SequenceFetcher;
import jalview.io.cache.JvCacheableInputBox;
import jalview.util.MessageManager;
+import jalview.util.Platform;
import java.awt.BorderLayout;
import java.awt.CardLayout;
btn_autosearch.setText(MessageManager.getString("option.autosearch"));
btn_autosearch.setToolTipText(
MessageManager.getString("option.enable_disable_autosearch"));
- btn_autosearch.setSelected(
- jalview.bin.Cache.getDefault(getAutosearchPreference(), true));
+ btn_autosearch.setSelected(Platform.isJS() ? false :
+ Cache.getDefault(getAutosearchPreference(), true));
btn_autosearch.addActionListener(new java.awt.event.ActionListener()
{
@Override