<commit_before>// Ensure namespace exists
var H1 = H1 || { };

H1.preferenceWindow = null;

H1.showPreferences = function(e) {
    if (H1.preferenceWindow == null) {
        let instantApply = Application.prefs
            .get('browser.preferences.instantApply');
        let features = 'chrome,titlebar,toolbar,centerscreen' +
            (instantApply ? ',dialog=no' : ',modal');

        H1.preferenceWindow = window.openDialog(<commit_msg>Fixing preferences window only openable once<commit_after>// Ensure namespace exists
var H1 = H1 || { };

H1.preferenceWindow = null;

H1.showPreferences = function(e) {
    if (H1.preferenceWindow == null || H1.preferenceWindow.closed) {
        let instantApply = Application.prefs
            .get('browser.preferences.instantApply');
        let features = 'chrome,titlebar,toolbar,centerscreen' +
            (instantApply ? ',dialog=no' : ',modal');

        H1.preferenceWindow = window.openDialog(
{'fraction_non_alphanumeric': 0.12644889357218125, 'fraction_numerical': 0.0136986301369863, 'mean_word_length': 3.279279279279279, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3275483', 'n_tokens_mistral': 283, 'n_tokens_neox': 277, 'n_words': 57}