diff --git a/extensions/chromium/minimalistic-pac-setter/extension/pages/choose-pac-provider/index.html b/extensions/chromium/minimalistic-pac-setter/extension/pages/choose-pac-provider/index.html index f2bd9f2..ace9d0e 100755 --- a/extensions/chromium/minimalistic-pac-setter/extension/pages/choose-pac-provider/index.html +++ b/extensions/chromium/minimalistic-pac-setter/extension/pages/choose-pac-provider/index.html @@ -31,10 +31,10 @@ text-decoration: underline; } .checked-radio-panel { - display: none; + visibility: hidden; } input:checked ~ .checked-radio-panel { - display: inline; + visibility: visible; } footer { margin: 2em 1em 1em; diff --git a/extensions/chromium/minimalistic-pac-setter/extension/pages/choose-pac-provider/index.js b/extensions/chromium/minimalistic-pac-setter/extension/pages/choose-pac-provider/index.js index 3033214..b860b8e 100755 --- a/extensions/chromium/minimalistic-pac-setter/extension/pages/choose-pac-provider/index.js +++ b/extensions/chromium/minimalistic-pac-setter/extension/pages/choose-pac-provider/index.js @@ -139,7 +139,7 @@ chrome://extensions › const li = document.createElement('li'); li.innerHTML = ` - [обновить]`; + [обновить]`; li.querySelector('.link-button').onclick = () => { conduct( @@ -183,7 +183,8 @@ chrome://extensions › setStatusTo(''); if (antiCensorRu.ifFirstInstall) { - currentProviderRadio().click(); + const id = antiCensorRu.currentPacProviderKey || 'none'; + document.querySelector('#update-' + id).click(); } });