fix: remove jquery

This commit is contained in:
Baris Usakli
2019-09-30 13:16:21 -04:00
parent 4d912ca300
commit 95ab071254

View File

@@ -691,8 +691,9 @@
},
urlToLocation: function (url) {
url = encodeURI(url);
return $('<a href="' + url + '" />')[0];
var a = document.createElement('a');
a.href = url;
return a;
},
// return boolean if string 'true' or string 'false', or if a parsable string which is a number