Set blank results when a non-autocomplete metatag is used

-Otherwise, the last valid autocomplete result will remain
--Causes incorrect results on Tab/Enter completion
-This clears the autocomplete results instead
This commit is contained in:
BrokenEagle
2018-02-12 17:16:43 -08:00
parent f83480cc8a
commit 30401591fb

View File

@@ -167,6 +167,7 @@
<% TagCategory.short_name_list.each do |category| %>
case "<%= category %>tags":
<% end %>
resp([]);
return;
case "order":