Fix sourceUrl box in edit.js

This commit is contained in:
Atlante45 2015-05-18 13:29:13 +02:00
parent 1f8008e5b5
commit 9d27108acb

View file

@ -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';
}