diff --git a/thrimbletrimmer/scripts/IO.js b/thrimbletrimmer/scripts/IO.js index 6a462e7..07aea86 100644 --- a/thrimbletrimmer/scripts/IO.js +++ b/thrimbletrimmer/scripts/IO.js @@ -40,7 +40,11 @@ pageSetup = function(isEditor) { document.getElementById("AllowHoles").checked = data.allow_holes; document.getElementById("uploaderWhitelist").value = (!!data.uploader_whitelist) ? data.uploader_whitelist.join(",") : ""; if ( - (data.upload_locations.length > 0 && data.upload_location != data.upload_locations[0]) + ( + data.upload_locations.length > 0 + && data.upload_location != null + && data.upload_location != data.upload_locations[0] + ) || data.allow_holes || !!data.uploader_whitelist ) {