From 5e4dd9a118e02942c469caed90f4f4e58371a334 Mon Sep 17 00:00:00 2001 From: Hank Date: Mon, 13 Feb 2017 12:35:07 +0800 Subject: [PATCH] fix options page not open issue --- popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popup.js b/popup.js index c97308a..47e93a3 100644 --- a/popup.js +++ b/popup.js @@ -72,7 +72,7 @@ $('body').on('click', '.extName', function (e) { } }); }).on('click', '.extOptions', e => { - chrome.tabs.create({url: e.target.href}); + chrome.tabs.create({url: e.currentTarget.href}); }).on('mouseup', '.extName', e => { if (e.which == 3) { cme.uninstall(e.target.dataset.id);