mirror of
https://github.com/responsively-org/responsively-app
synced 2024-11-10 06:44:13 +00:00
Fix #1306 - Update address bar on clicking a link
This commit is contained in:
parent
6e7c23a114
commit
331ba07ff3
1 changed files with 2 additions and 0 deletions
|
@ -276,8 +276,10 @@ const Device = ({ isPrimary, device, setIndividualDevice }: Props) => {
|
|||
}
|
||||
};
|
||||
webview.addEventListener('did-navigate', didNavigateHandler);
|
||||
webview.addEventListener('did-navigate-in-page', didNavigateHandler);
|
||||
handlerRemovers.push(() => {
|
||||
webview.removeEventListener('did-navigate', didNavigateHandler);
|
||||
webview.removeEventListener('did-navigate-in-page', didNavigateHandler);
|
||||
});
|
||||
|
||||
const ipcMessageHandler = (e: Electron.IpcMessageEvent) => {
|
||||
|
|
Loading…
Reference in a new issue