related tags: fix unnecessary .erb extensions, remove unused ids.

This commit is contained in:
evazion
2018-10-15 15:49:34 -05:00
parent 33ca028927
commit b166c8116a
5 changed files with 4 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ RelatedTag.current_tag = function() {
RelatedTag.update_selected = function(e) {
var current_tags = $("#upload_tag_string,#post_tag_string").val().toLowerCase().match(/\S+/g) || [];
var $all_tags = $("#related-tags a");
var $all_tags = $(".related-tags a.search-tag");
$all_tags.removeClass("selected");
$all_tags.each(function(i, tag) {