<commit_before>window.onload = function() {
	/**
	 * make accordion headings clickable, not only the link inside them
	 */
	var accordionTitles = document.getElementsByClassName('panel-heading');
	for (var i=0; i<accordionTitles.length; i++) {
		var accordionTitle = accordionTitles[i];
		accordionTitle.className = accordionTitle.className + ' clickable';
		accordionTitle.addEventListener('click', function(event) {
			var accordionLink = this.querySelectorAll('[data-toggle="collapse"]')[0];
			accordionLink.click();
		});
	}
}<commit_msg>add the missing js to open the detail screen<commit_after>window.onload = function() {
	/**
	 * make accordion headings clickable, not only the link inside them
	 */
	var accordionTitles = document.getElementsByClassName('panel-heading');
	for (var i=0; i<accordionTitles.length; i++) {
		var accordionTitle = accordionTitles[i];
		accordionTitle.className = accordionTitle.className + ' clickable';
		accordionTitle.addEventListener('click', function(event) {
			var accordionLink = this.querySelectorAll('[data-toggle="collapse"]')[0];
			accordionLink.click();
		});
	}
	
	/**
	 * open the detail
	 */
	var detailLinks = document.querySelectorAll('[data-detail-key]');
	for (var i=0; i<detailLinks.length; i++) {
		var detailLink = detailLinks[i];
		var detailKey  = detailLink.dataset.detailKey;
		detailLink.addEventListener('click', function(event) {
			event.preventDefault();
			if (top.window.extendDebugDisplay != undefined) {
				top.window.extendDebugDisplay(detailKey);
			}
			showDebugDetail(detailKey);
		});
	}
}
{'fraction_non_alphanumeric': 0.13931297709923665, 'fraction_numerical': 0.0031806615776081423, 'mean_word_length': 5.096899224806202, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5800556', 'n_tokens_mistral': 528, 'n_tokens_neox': 483, 'n_words': 97}