From afe376a0a26c6859301a404c3cd44eb265486308 Mon Sep 17 00:00:00 2001 From: howard-stearns Date: Fri, 12 Aug 2016 14:08:50 -0700 Subject: [PATCH] fix breakage I made to snapshot uploading --- scripts/system/html/ShareSnapshot.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/system/html/ShareSnapshot.html b/scripts/system/html/ShareSnapshot.html index f9cc959ba9..7754371547 100644 --- a/scripts/system/html/ShareSnapshot.html +++ b/scripts/system/html/ShareSnapshot.html @@ -56,12 +56,13 @@ function toggle() { data.share = input.checked; } img.src = data.localPath; div.appendChild(img); + data.share = true; if (useCheckboxes) { // I'd rather use css, but the included stylesheet is quite particular. // Our stylesheet(?) requires input.id to match label.for. Otherwise input doesn't display the check state. label.setAttribute('for', id); // cannot do label.for = input.id = id; input.type = "checkbox"; - input.checked = data.share = true; + input.checked = true; input.addEventListener('change', toggle); div.class = "property checkbox"; div.appendChild(input);