diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/developer/Plugins.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/developer/Plugins.md b/docs/developer/Plugins.md index 22d29efa7..3071b1066 100644 --- a/docs/developer/Plugins.md +++ b/docs/developer/Plugins.md @@ -129,6 +129,7 @@ News.addArticleAction(function($actionsElement, article) { $button.click(function (event) { window.open(url); + window.opener = null; // prevent twitter being from able to access the DOM event.stopPropagation(); // prevent expanding in compact mode }); |