From 6dedcf2ea3939b3deb480cf321e85c68947c675f Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 21 Oct 2015 17:31:56 -0400 Subject: [PATCH] Reference the correct range. --- prototype/UI/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prototype/UI/index.html b/prototype/UI/index.html index 31c59f3a4..d3870d921 100644 --- a/prototype/UI/index.html +++ b/prototype/UI/index.html @@ -128,7 +128,7 @@ if (model instanceof Leaf) { element = document.createElement("span"); if (model.source != null && model.range != null) { - element.textContent = model.source.substr(this.range[0], this.range[1]); + element.textContent = model.source.substr(model.range[0], model.range[1]); } // ? }