<commit_before>var backLinks = document.querySelectorAll('a[href="#"][class="govuk-back-link"]')

if (backLinks.length > 0) {
    backLinks.forEach(element => element.addEventListener('click', function(e) {
        e.preventDefault();
        window.history.back();
    }))
}<commit_msg>SAR-9536: Fix 'return' link on save page<commit_after>var backLinks = document.querySelectorAll('a[href="#"]')

if (backLinks.length > 0) {
    backLinks.forEach(element => element.addEventListener('click', function(e) {
        e.preventDefault();
        window.history.back();
    }))
}
{'fraction_non_alphanumeric': 0.1753472222222222, 'fraction_numerical': 0.010416666666666666, 'mean_word_length': 4.342592592592593, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5505707', 'n_tokens_mistral': 178, 'n_tokens_neox': 174, 'n_words': 28}