From ab87a7fe6934b5fa0f06964c67a27826774126b4 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 8 Mar 2015 14:47:22 +0100 Subject: tag cloud is present, #1122 is implemented --- themes/_global/js/autoCompleteTags.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'themes/_global/js/autoCompleteTags.js') diff --git a/themes/_global/js/autoCompleteTags.js b/themes/_global/js/autoCompleteTags.js index 986e71d1..8b32f8ca 100755 --- a/themes/_global/js/autoCompleteTags.js +++ b/themes/_global/js/autoCompleteTags.js @@ -48,6 +48,9 @@ jQuery(function($) { var value = input.val(); var tag = $(this).text(); var terms = value.split(','); // tags into the + $(".alreadytagged").each(function(index) { + terms.push($(this).text() ); + }); if (jQuery.inArray(tag, terms) == -1 ) { // if the tag hasn't already been added value += tag + ","; input.val(value); -- cgit v1.2.3