mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
fix: remove jquery
This commit is contained in:
@@ -691,8 +691,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
urlToLocation: function (url) {
|
urlToLocation: function (url) {
|
||||||
url = encodeURI(url);
|
var a = document.createElement('a');
|
||||||
return $('<a href="' + url + '" />')[0];
|
a.href = url;
|
||||||
|
return a;
|
||||||
},
|
},
|
||||||
|
|
||||||
// return boolean if string 'true' or string 'false', or if a parsable string which is a number
|
// return boolean if string 'true' or string 'false', or if a parsable string which is a number
|
||||||
|
|||||||
Reference in New Issue
Block a user