From f8f82a6b164abc3202125761d91f16556ff0094e Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 21 Oct 2015 15:49:34 -0400 Subject: [PATCH] Pass the DOM elements. --- prototype/UI/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prototype/UI/index.html b/prototype/UI/index.html index 993b6ee54..73ebba435 100644 --- a/prototype/UI/index.html +++ b/prototype/UI/index.html @@ -66,8 +66,8 @@ if (patch.delete != null) { return term(patch.delete, before); } if (patch.insert != null) { return term(patch.insert, after); } if (patch.replace != null) { - if (term.patch.before != null) { term(patch.replace.before); } - if (term.patch.after != null) { term(patch.replace.after); } + if (term.patch.before != null) { term(patch.replace.before, before); } + if (term.patch.after != null) { term(patch.replace.after, after); } } }