<commit_before>$('#tooltip').remove();
$('#<%= @shift.start.strftime("%Y-%m-%d") %>').html(
	'<%= escape_javascript render partial: 
	(params[:calendar] ? "calendars/schedule/day" : "shifts/schedule/day"), 
	object: @shift.start.to_date %>');

// TODO: Figure out how to make this work in jQuery
// page["#shift#{@shift.id}"].visual_effect :highlight

initialize('##{@shift.start.strftime("%Y-%m-%d")}');

// display alert
//alert("shift updated");
<commit_msg>Fix enabling tooltip after editing<commit_after>$('#tooltip').remove();
$('#<%= @shift.start.strftime("%Y-%m-%d") %>').html(
	'<%= escape_javascript render partial: 
	(params[:calendar] ? "calendars/schedule/day" : "shifts/schedule/day"), 
	object: @shift.start.to_date %>');

// TODO: Figure out how to make this work in jQuery
// page["#shift#{@shift.id}"].visual_effect :highlight

initialize('#<%= @shift.start.strftime("%Y-%m-%d") %>');

// display alert
//alert("shift updated");

{'fraction_non_alphanumeric': 0.24498416050686378, 'fraction_numerical': 0.0, 'mean_word_length': 5.448979591836735, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '6319405', 'n_tokens_mistral': 334, 'n_tokens_neox': 313, 'n_words': 61}