From 52a414959ca427343a76fceaff2698162a9fc440 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 27 Feb 2017 22:40:09 +0000 Subject: [PATCH] wiki.extractTiddlerDataItem() should use caching --- core/modules/wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/wiki.js b/core/modules/wiki.js index acc88d4fe..1d077fd67 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -680,7 +680,7 @@ exports.getTiddlerData = function(titleOrTiddler,defaultData) { Extract an indexed field from within a data tiddler */ exports.extractTiddlerDataItem = function(titleOrTiddler,index,defaultText) { - var data = this.getTiddlerData(titleOrTiddler,Object.create(null)), + var data = this.getTiddlerDataCached(titleOrTiddler,Object.create(null)), text; if(data && $tw.utils.hop(data,index)) { text = data[index];