From aa0b9f902990b99b28be8a516828169dde3a1685 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 2 Jun 2014 14:03:01 -0400 Subject: [PATCH] semicolon --- public/src/modules/composer/tags.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/modules/composer/tags.js b/public/src/modules/composer/tags.js index f7976e7788..7383844eea 100644 --- a/public/src/modules/composer/tags.js +++ b/public/src/modules/composer/tags.js @@ -34,7 +34,6 @@ define('composer/tags', function() { }, select: function(event, ui) { // when autocomplete is selected from the dropdown simulate a enter key down to turn it into a tag - // http://stackoverflow.com/a/3276819/583363 triggerEnter(input); } }); @@ -42,10 +41,11 @@ define('composer/tags', function() { input.attr('tabIndex', tagEl.attr('tabIndex')); input.on('blur', function() { triggerEnter(input); - }) + }); }; function triggerEnter(input) { + // http://stackoverflow.com/a/3276819/583363 var e = jQuery.Event('keydown'); e.which = 13; e.keyCode = 13;