From 0b0fb0a145ccb402696d7183c61fd1c9302565b1 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 1 Nov 2013 17:22:51 +0000 Subject: [PATCH] Fixed refresh logic of element widget --- core/modules/new_widgets/element.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modules/new_widgets/element.js b/core/modules/new_widgets/element.js index a87ad922d..5ee1ed761 100755 --- a/core/modules/new_widgets/element.js +++ b/core/modules/new_widgets/element.js @@ -67,8 +67,7 @@ ElementWidget.prototype.refresh = function(changedTiddlers) { // Update our attributes this.assignAttributes(this.domNodes[0]); } - var hasRefreshed = this.refreshChildren(changedTiddlers); - return hasRefreshed || hasChangedAttributes; + return this.refreshChildren(changedTiddlers) || hasChangedAttributes; }; /*