diff --git a/src/app/tabs/runTab/settings.js b/src/app/tabs/runTab/settings.js index df7ebca5d9..b667614fb0 100644 --- a/src/app/tabs/runTab/settings.js +++ b/src/app/tabs/runTab/settings.js @@ -182,15 +182,13 @@ class SettingsUI { modal.hide() modalDialogCustom.prompt('External node request', 'Web3 Provider Endpoint', 'http://localhost:8545', (target) => { this.settings.setProviderFromEndpoint(target, context, (alertMsg) => { - if (alertMsg) { - modalDialogCustom.alert(alertMsg) - } + if (alertMsg) addTooltip(alertMsg) this.setFinalContext() }) }, this.setFinalContext.bind(this)) }, this.setFinalContext.bind(this)) }, (alertMsg) => { - modalDialogCustom.alert(alertMsg) + addTooltip(alertMsg) }, this.setFinalContext.bind(this)) })