mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
feat(links): route to selected link
This commit is contained in:
@@ -43,5 +43,5 @@ const vueInstance = new Vue({
|
||||
export default vueInstance;
|
||||
|
||||
window.externalLink = url => {
|
||||
vueInstance.$root.$emit('bv::show::modal', 'external-link-modal', url);
|
||||
vueInstance.$root.$emit('habitica:external-link', url);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user