From c0f9120d1b9261944c2e1a49b4032f45116ce619 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 23 Oct 2015 21:29:21 -0400 Subject: [PATCH] Classify replacements. --- prototype/UI/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prototype/UI/index.html b/prototype/UI/index.html index 652ab1638..7824d9cdf 100644 --- a/prototype/UI/index.html +++ b/prototype/UI/index.html @@ -225,6 +225,9 @@ if (value.before != null) { element = termToDOM(value.before, "before", json["before"]); element.classList.add("delete"); + if (value.after != null) { + element.classList.add("replace"); + } } return element || ""; }); @@ -233,6 +236,9 @@ if (value.after != null) { element = termToDOM(value.after, "after", json["after"]); element.classList.add("insert") + if (value.before != null) { + element.classList.add("replace"); + } } return element || ""; });