<commit_before>Template.regionsSplash.onRendered(function () {
	var instance = this;

	instance.$('#regionsSplash').modal('show');
	instance.$('#regionsSplash').on('shown.bs.modal', function() {
		instance.$('.js-region-search').select();
	});
});

Template.regionsSplash.events({
	'click .js-region-link, submit .js-region-search': function(e, instance) {
		var regionsSplash = instance.$('#regionsSplash');

		regionsSplash.modal('hide');
		regionsSplash.on('hidden.bs.modal', function() {
			Session.set('regionGuessed', false);
		});
	}
});<commit_msg>fix submit for modal region search<commit_after>Template.regionsSplash.onRendered(function () {
	var instance = this;

	instance.$('#regionsSplash').modal('show');
	instance.$('#regionsSplash').on('shown.bs.modal', function() {
		instance.$('.js-region-search').select();
	});
});

Template.regionsSplash.events({
	'click .js-region-link, submit .js-region-search-form': function(e, instance) {
		var regionsSplash = instance.$('#regionsSplash');

		regionsSplash.modal('hide');
		regionsSplash.on('hidden.bs.modal', function() {
			Session.set('regionGuessed', false);
		});
	}
});
{'fraction_non_alphanumeric': 0.20650263620386644, 'fraction_numerical': 0.0, 'mean_word_length': 5.583815028901734, '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': '4143672', 'n_tokens_mistral': 410, 'n_tokens_neox': 359, 'n_words': 51}