{"size": 448, "ext": "js", "max_stars_repo_path": "plugin/js/deleteDeck.js", "max_stars_repo_name": "chaoticbackup/TCO_BP_Tracker", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "plugin/js/deleteDeck.js", "max_issues_repo_name": "chaoticbackup/TCO_BP_Tracker", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "plugin/js/deleteDeck.js", "max_forks_repo_name": "chaoticbackup/TCO_BP_Tracker", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.8888888889, "max_line_length": 64, "alphanum_fraction": 0.6160714286}
import {clearDisplay} from './main.js';

export function deleteDeck() {
	clearDisplay();
	$('#deleteConfirmation').removeClass("hidden");

	$('#confirmDelete').one("click", function() {
		$("input[type='checkbox'][name*='delete']").each(function(i) {
			$(this).prop("checked", true);
		});
		$("input[type='submit'][value='Update']").click();
	});

	$('#denyDelete').one("click", function() {
		$('#deleteConfirmation').addClass("hidden");
	});
}
