<commit_before>
$(document).on("ready page:load", function(){
  $(".button-like").submit(function(event) {
    event.preventDefault();
    $.ajax ({
      url: '/stories/'+ story.id +'/upvote',
      method: 'POST',
    }).success(function(result) {
      $("#votes").html(result.count_votes);
      $("#session").html('List: ' + result.user_session)
    });
  });
 });<commit_msg>Deletes leftover line from sessions in upvote.js.<commit_after>
$(document).on("ready page:load", function(){
  $(".button-like").submit(function(event) {
    event.preventDefault();
    $.ajax ({
      url: '/stories/'+ story.id +'/upvote',
      method: 'POST',
    }).success(function(result) {
      $("#votes").html(result.count_votes)
    });
  });
 });
{'fraction_non_alphanumeric': 0.23108108108108108, 'fraction_numerical': 0.0, 'mean_word_length': 3.4909090909090907, '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': '7368770', 'n_tokens_mistral': 242, 'n_tokens_neox': 241, 'n_words': 38}