From 01a0c9481e6ebce2208bcfc2306ac60e31c9c4f6 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 31 Oct 2013 21:59:53 +0000 Subject: [PATCH] Remove unused class attribute from reveal widget --- core/modules/new_widgets/reveal.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modules/new_widgets/reveal.js b/core/modules/new_widgets/reveal.js index ed9b082d2..370d44f4d 100755 --- a/core/modules/new_widgets/reveal.js +++ b/core/modules/new_widgets/reveal.js @@ -84,7 +84,6 @@ RevealWidget.prototype.execute = function() { this.position = this.getAttribute("position"); this["default"] = this.getAttribute("default",""); this.qualifyTiddlerTitles = this.getAttribute("qualifyTiddlerTitles"); - this["class"] = this.getAttribute("class"); this.animate = this.getAttribute("animate","no"); // Compute the title of the state tiddler and read it this.stateTitle = this.state; @@ -148,7 +147,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of */ RevealWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); - if(changedAttributes.state || changedAttributes.type || changedAttributes.text || changedAttributes.position || changedAttributes["default"] || changedAttributes.qualifyTiddlerTitles || changedAttributes["class"] || changedAttributes.animate || changedTiddlers[this.stateTitle]) { + if(changedAttributes.state || changedAttributes.type || changedAttributes.text || changedAttributes.position || changedAttributes["default"] || changedAttributes.qualifyTiddlerTitles || changedAttributes.animate || changedTiddlers[this.stateTitle]) { this.refreshSelf(); return true; } else {