mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 20:10:03 +00:00
Removed unneeded variable declaration
This commit is contained in:
parent
b0336c527c
commit
0458c538b0
@ -24,7 +24,6 @@ var parseStory = function(storyText) {
|
|||||||
|
|
||||||
// Search the children of a node looking for the required tiddler rendering
|
// Search the children of a node looking for the required tiddler rendering
|
||||||
var searchTiddlerNode = function(node,renderTiddler,renderTemplate) {
|
var searchTiddlerNode = function(node,renderTiddler,renderTemplate) {
|
||||||
var renderAs;
|
|
||||||
while(node !== null) {
|
while(node !== null) {
|
||||||
if(node.getAttribute && node.getAttribute("data-tw-render-tiddler") === renderTiddler) {
|
if(node.getAttribute && node.getAttribute("data-tw-render-tiddler") === renderTiddler) {
|
||||||
if(!renderTemplate || (renderTemplate && node.getAttribute("data-tw-render-template") == renderTemplate)) {
|
if(!renderTemplate || (renderTemplate && node.getAttribute("data-tw-render-template") == renderTemplate)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user