diff --git a/src/share-network.js b/src/share-network.js index 99267f6..4e51c32 100644 --- a/src/share-network.js +++ b/src/share-network.js @@ -222,6 +222,9 @@ export default { ',screenY=' + this.popup.top ) + // If an adblocker prevent popups, popup.window stays undefined and we can't display it + if (!this.popup.window) return + this.popup.window.focus() // Create an interval to detect popup closing event