From 9d27108acbb0dede5bfc412e5eefb7ec7984e29e Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Mon, 18 May 2015 13:29:13 +0200 Subject: [PATCH] Fix sourceUrl box in edit.js --- examples/html/entityProperties.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/html/entityProperties.html b/examples/html/entityProperties.html index 0e3494bff8..a2ff71d010 100644 --- a/examples/html/entityProperties.html +++ b/examples/html/entityProperties.html @@ -284,7 +284,7 @@ var elModelOriginalTextures = document.getElementById("property-model-original-textures"); var elWebSections = document.querySelectorAll(".web-section"); - allSections.push(elModelSections); + allSections.push(elWebSections); var elWebSourceURL = document.getElementById("property-web-source-url"); var elTextSections = document.querySelectorAll(".text-section"); @@ -481,7 +481,7 @@ elModelTextures.value = properties.textures; elModelOriginalTextures.value = properties.originalTextures; } else if (properties.type == "Web") { - for (var i = 0; i < elTextSections.length; i++) { + for (var i = 0; i < elWebSections.length; i++) { elWebSections[i].style.display = 'block'; }