Update Util.js
This commit is contained in:
parent
d74f232570
commit
071294bfa9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue