mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-19 22:18:03 +00:00
About dialog
This commit is contained in:
8
frontend/src/lib/actions/alink.js
Normal file
8
frontend/src/lib/actions/alink.js
Normal file
@ -0,0 +1,8 @@
|
||||
import { BrowserOpenURL } from '$wails/runtime/runtime';
|
||||
|
||||
export default function alink(node) {
|
||||
node.addEventListener('click', e => {
|
||||
e.preventDefault();
|
||||
BrowserOpenURL(node.href);
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user