commit: a8d85784a3dae920fd0859d0002e5a83d09ea94b
parent 420571e033024029ab837d903c3bfea744f64165
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Wed, 14 Mar 2018 12:49:02 +1300
Fixed issue with related recipes
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/scripts/templates/recipe.js b/scripts/templates/recipe.js
@@ -66,6 +66,7 @@ function RecipeTemplate(id,rect)
var count = 0;
for(id in recipes){
var name = recipes[id][0];
+ var recipe = q.tables.recipes[name]
html += `
<ln class='recipe'>
<a class='photo' onclick="Ø('query').bang('${name}')" href='#${name.to_url()}' style='background-image:url(media/recipes/${name.to_path()}.jpg)'></a>