From 7c9fcf26ba16288e7fbaa019cdec522284ff611a Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 27 Mar 2018 02:07:31 -0230 Subject: [PATCH] Stop using navigateTo for external link in settings. --- old-ui/app/config.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/old-ui/app/config.js b/old-ui/app/config.js index 9e07cf348..7da3694ac 100644 --- a/old-ui/app/config.js +++ b/old-ui/app/config.js @@ -168,7 +168,6 @@ ConfigScreen.prototype.render = function () { h('a', { href: 'http://metamask.helpscoutdocs.com/article/36-resetting-an-account', target: '_blank', - onClick (event) { this.navigateTo(event.target.href) }, }, 'Read more.'), ]), h('br'), @@ -260,7 +259,3 @@ function currentProviderDisplay (metamaskState) { h('span', value), ]) } - -ConfigScreen.prototype.navigateTo = function (url) { - global.platform.openWindow({ url }) -}