<commit_before>Template.Menu.events({

  'click .menu-link.active': function(evt, tmp) {

    tmp.$('.menu-container').toggleClass('open');

  },

  'click .menu-link:not(.active)': function(evt, tmp) {

    tmp.$('.menu-container').removeClass('open');

    // TODO: redirect to appropriate page

  },

  // LEGACY EVENT HANDLER TO LAUNCH LOGIN MODAL, LEFT IN CASE OF REUSE<commit_msg>stop immediate navigation on mobile when menu is opened<commit_after>Template.Menu.events({

  'click .menu-link.active': function(evt, tmp) {

    tmp.$('.menu-container').toggleClass('open');
    evt.preventDefault();

  },

  'click .menu-link:not(.active)': function(evt, tmp) {

    tmp.$('.menu-container').removeClass('open');

  },

  // LEGACY EVENT HANDLER TO LAUNCH LOGIN MODAL, LEFT IN CASE OF REUSE
{'fraction_non_alphanumeric': 0.17189460476787954, 'fraction_numerical': 0.0, 'mean_word_length': 3.75, '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': '4027424', 'n_tokens_mistral': 271, 'n_tokens_neox': 253, 'n_words': 59}