Fix the outcome of the proxy readiness function

This commit is contained in:
idk
2019-11-20 13:41:22 -05:00
parent fb1bbaf574
commit 54527c6af3
3 changed files with 5 additions and 10 deletions

View File

@ -41,7 +41,7 @@ window.addEventListener("pageshow", function() {
</div>
<div id="readyness">
<div id="consoleOn" class="hideIfI2PConsoleOff">&aboutI2p.all_checks_ok;</div>
<div id="proxyUnready" class="hideIfI2PProxyOn">&aboutI2p.startup; &aboutI2p.routerconsole; &aboutI2p.startup_b;</div>
<div id="proxyUnready" class="hideIfI2PProxyOn">&aboutI2p.startup;</div>
<div id="proxyReady" class="hideIfI2PProxyOff">&aboutI2p.proxyready;</div>
</div>
<!--<div id="onboarding" class="hideIfI2PConsoleOff">

View File

@ -61,12 +61,8 @@ function i2pbutton_i2p_console_check_ok() {
return false
}
function i2pbutton_i2p_proxy_check_ok() {
if (routerCtrl.mI2PProcess != null) {
if (routerCtrl.mI2PProcess.isRunning) {
return checkSvc.isProxyWorking
}
}
return false
i2pbutton_log(3, "I2P Proxy readiness: " + checkSvc.isProxyWorking)
return (checkSvc.isProxyWorking)
}
var i2pbutton_window_pref_observer =
{

View File

@ -46,7 +46,6 @@
<!ENTITY aboutI2p.tracwiki "To report a bug, visit the Trac Wiki.">
<!ENTITY aboutI2p.donatecta "I2P is funded by donations. In order to make a donation visit the project web site.">
<!ENTITY aboutI2p.startup "Sometimes it takes a minute or two for I2P to get started for the first time. While you wait, visit the">
<!ENTITY aboutI2p.startup_b "to get acquainted with all the capabilities of I2P.">
<!ENTITY aboutI2p.startup "The proxy is not ready yet.">
<!ENTITY aboutI2p.rc "Router Console">
<!ENTITY aboutI2p.proxyready "Your Proxy is ready, feel free to browse the eepWeb!">
<!ENTITY aboutI2p.proxyready "Your proxy is ready!">