mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
Mobile: Fixes #4033: Fixed clicking on links
This commit is contained in:
parent
8dc42b1f41
commit
10cfa773ca
@ -21,6 +21,8 @@ export default function useOnMessage(onCheckboxChange:Function, noteBody:string,
|
||||
onJoplinLinkClick(msg);
|
||||
} else if (msg.startsWith('error:')) {
|
||||
console.error(`Webview injected script error: ${msg}`);
|
||||
} else {
|
||||
onJoplinLinkClick(msg);
|
||||
}
|
||||
}, [onCheckboxChange, noteBody, onMarkForDownload, onJoplinLinkClick, onResourceLongPress]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user