From fb76ee5606127a9d87aecc18ca8e16e12bac9112 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 4 Jun 2013 12:01:28 +0100 Subject: [PATCH] Fix problem that was stopping buttons being able to set tiddlers to the empty string --- 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 74c3d589a..f8fb17fab 100644 --- a/core/modules/widgets/button.js +++ b/core/modules/widgets/button.js @@ -99,7 +99,7 @@ ButtonWidget.prototype.handleClickEvent = function(event) { this.triggerPopup(event); handled = true; } - if(this.set && this.setTo) { + if(this.set) { this.setTiddler(); handled = true; }