From 24276390b46a40e1f46d074e1ccff7e9ae03f2f1 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 26 Jul 2018 00:27:56 +0100 Subject: [PATCH] autocomplete only for search boxes again --- ext/autocomplete/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/autocomplete/script.js b/ext/autocomplete/script.js index b7643023..6a5c25fd 100644 --- a/ext/autocomplete/script.js +++ b/ext/autocomplete/script.js @@ -1,7 +1,7 @@ $(function(){ var metatags = ['order:id', 'order:width', 'order:height', 'order:filesize', 'order:filename']; - $('.autocomplete_tags').tagit({ + $('[name="search"]').tagit({ singleFieldDelimiter: ' ', beforeTagAdded: function(event, ui) { if(metatags.indexOf(ui.tagLabel) !== -1) {