diff --git a/web/settings.html b/web/settings.html index 5346a4f..f0e0cff 100644 --- a/web/settings.html +++ b/web/settings.html @@ -523,7 +523,7 @@ function setWpType(type) { document.querySelectorAll('.wp-type-section').forEach(function(s) { s.classList.remove('visible'); }); var sec = document.getElementById('sec-' + type); if (sec) sec.classList.add('visible'); - if (type === 'bing' && currentWpType !== 'bing') { + if (initDone && type === 'bing' && currentWpType !== 'bing') { if (window.enableBing) window.enableBing(); } currentWpType = type;