Moved "Add Tracking Image" changes to the copy() function

pull/186/head
Jordan Wright 2016-02-29 21:30:20 -06:00
parent 78f378fc28
commit 76962749b1
1 changed files with 5 additions and 0 deletions

View File

@ -221,6 +221,11 @@ function copy(idx) {
.remove() .remove()
.draw(); .draw();
}) })
if (template.html.indexOf("{{.Tracker}}</body>") != -1) {
$("#use_tracker_checkbox").prop("checked", true)
} else {
$("#use_tracker_checkbox").prop("checked", false)
}
} }
function importEmail() { function importEmail() {