Stop using navigateTo for external link in settings.

feature/default_network_editable
Dan 7 years ago
parent dac66b8ee9
commit 7c9fcf26ba
  1. 5
      old-ui/app/config.js

@ -168,7 +168,6 @@ ConfigScreen.prototype.render = function () {
h('a', { h('a', {
href: 'http://metamask.helpscoutdocs.com/article/36-resetting-an-account', href: 'http://metamask.helpscoutdocs.com/article/36-resetting-an-account',
target: '_blank', target: '_blank',
onClick (event) { this.navigateTo(event.target.href) },
}, 'Read more.'), }, 'Read more.'),
]), ]),
h('br'), h('br'),
@ -260,7 +259,3 @@ function currentProviderDisplay (metamaskState) {
h('span', value), h('span', value),
]) ])
} }
ConfigScreen.prototype.navigateTo = function (url) {
global.platform.openWindow({ url })
}

Loading…
Cancel
Save