make function async

This commit is contained in:
liamcottle 2024-09-22 22:11:23 +12:00
commit f07a4143bd

View file

@ -421,7 +421,7 @@ export default {
return null;
},
onNodePageUrlClick: function(url, addToHistory = true, useCache = true) {
async onNodePageUrlClick(url, addToHistory = true, useCache = true) {
// open http urls in new tab
if(url.startsWith("http://") || url.startsWith("https://")){