diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-05-10 22:21:15 +0300 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-05-10 22:21:15 +0300 |
commit | ca350bb974e5ce843e92c6d22d81fc51dcdd94ad (patch) | |
tree | 03fb90ee8844429997bbcc8c4978bcd13734decb /docs | |
parent | 47ef2acea37313b7b3ebd53e4350eb720e282757 (diff) |
fix plugin tutorial
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 }); |