From 78fa5614048de7e2af2f9af7008bd1d43491fff8 Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Fri, 18 Nov 2016 18:55:17 -0600 Subject: [PATCH] Fixing tracking image checkbox accuracy. Fixes #443 --- static/js/app/templates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/app/templates.js b/static/js/app/templates.js index 3a52acaa..5c4e1255 100644 --- a/static/js/app/templates.js +++ b/static/js/app/templates.js @@ -164,7 +164,7 @@ function edit(idx) { file.type || "application/octet-stream" ]).draw() }) - if (template.html.indexOf("{{.Tracker}}") != -1) { + if (template.html.indexOf("{{.Tracker}}") != -1) { $("#use_tracker_checkbox").prop("checked", true) } else { $("#use_tracker_checkbox").prop("checked", false) @@ -225,7 +225,7 @@ function copy(idx) { .remove() .draw(); }) - if (template.html.indexOf("{{.Tracker}}") != -1) { + if (template.html.indexOf("{{.Tracker}}") != -1) { $("#use_tracker_checkbox").prop("checked", true) } else { $("#use_tracker_checkbox").prop("checked", false)