Update Util.js

This commit is contained in:
Robert Best 2016-10-21 10:20:51 -04:00 committed by GitHub
parent d74f232570
commit 071294bfa9

View file

@ -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