From 49949de808154d360fd2e9383da2377b146b90e4 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Mon, 5 Jun 2017 00:52:22 +0200
Subject: don't also open history links in popup

---
 src/webex/pages/popup.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/webex/pages/popup.tsx')

diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx
index ee9c8023f..d7429f837 100644
--- a/src/webex/pages/popup.tsx
+++ b/src/webex/pages/popup.tsx
@@ -526,7 +526,8 @@ function openExtensionPage(page: string) {
 
 
 function openTab(page: string) {
-  return () => {
+  return (evt) => {
+    evt.preventDefault();
     chrome.tabs.create({
       url: page,
     });
-- 
cgit v1.2.3

