mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-27 06:38:19 +00:00
Revision of 03db25cf38
We should only fallback to the classic storyview if a storyview was specified; if none was specified then we shouldn’t use a storyview.
This commit is contained in:
parent
0788145cb5
commit
5f0a1dd967
@ -43,7 +43,7 @@ ListWidget.prototype.render = function(parent,nextSibling) {
|
|||||||
this.renderChildren(parent,nextSibling);
|
this.renderChildren(parent,nextSibling);
|
||||||
// Construct the storyview
|
// Construct the storyview
|
||||||
var StoryView = this.storyViews[this.storyViewName];
|
var StoryView = this.storyViews[this.storyViewName];
|
||||||
if(!StoryView) {
|
if(this.storyViewName && !StoryView) {
|
||||||
StoryView = this.storyViews["classic"];
|
StoryView = this.storyViews["classic"];
|
||||||
}
|
}
|
||||||
if(StoryView && !this.document.isTiddlyWikiFakeDom) {
|
if(StoryView && !this.document.isTiddlyWikiFakeDom) {
|
||||||
|
Loading…
Reference in New Issue
Block a user