From 019cb6a542a680bdc809095056b2c147a02ac2e5 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Fri, 23 Mar 2018 12:08:53 +0100 Subject: [PATCH] Fix #3078 (#3185) --- core/modules/widgets/button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/widgets/button.js b/core/modules/widgets/button.js index 4bb2b2638..fdcf33caa 100644 --- a/core/modules/widgets/button.js +++ b/core/modules/widgets/button.js @@ -67,7 +67,7 @@ ButtonWidget.prototype.render = function(parent,nextSibling) { // Add a click event handler domNode.addEventListener("click",function (event) { var handled = false; - if(self.invokeActions(this,event)) { + if(self.invokeActions(self,event)) { handled = true; } if(self.to) {