From 071294bfa9e281ec1a723842e631b3a7b504a1a3 Mon Sep 17 00:00:00 2001 From: Robert Best Date: Fri, 21 Oct 2016 10:20:51 -0400 Subject: [PATCH] Update Util.js --- frontend/src/Metamaps/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Metamaps/Util.js b/frontend/src/Metamaps/Util.js index d6db861a..d7d50d22 100644 --- a/frontend/src/Metamaps/Util.js +++ b/frontend/src/Metamaps/Util.js @@ -123,7 +123,7 @@ const Util = { return (url.match(/^https?:\/\/(?:www\.)?youtube.com\/watch\?(?=[^?]*v=\w+)(?:[^\s?]+)?$/) != null) }, openLink: function(url){ - var win = (url != "") ? window.open(url, '_blank') : false; + var win = (url != "") ? window.open(url, '_blank') : "empty"; if (win) { //Browser has allowed it to be opened