From 02ae8969b2ca041606ec487d3c1d9ab1d19585b2 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 20 Mar 2019 16:50:34 +0000 Subject: [PATCH] Reveal widget: faulty logic for default handling @BurningTreeC I think this might have been a typo in your recent refactorings; if you look back at an old version such as https://github.com/Jermolene/TiddlyWiki5/blob/c0c1b557ebcd76fecc7b305115cbabe921b38e0d/core/modules/widgets/reveal.js then there is no sign of this fallback. Fixes #3874 --- core/modules/widgets/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/widgets/reveal.js b/core/modules/widgets/reveal.js index 15659e125..9858ad14c 100755 --- a/core/modules/widgets/reveal.js +++ b/core/modules/widgets/reveal.js @@ -119,7 +119,7 @@ Read the state tiddler RevealWidget.prototype.readState = function() { // Read the information from the state tiddler var state, - defaultState = this["default"] || this.getVariable("currentTiddler"); + defaultState = this["default"]; if(this.stateTitle) { var stateTitleTiddler = this.wiki.getTiddler(this.stateTitle); if(this.stateField) {