fixes #667
This commit is contained in:
@@ -105,7 +105,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(document).bind("keydown.right", function(e) {
|
$(document).bind("keydown.right", function(e) {
|
||||||
Danbooru.Post.nav_pool_prev();
|
Danbooru.Post.nav_pool_next();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class Comment < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def post_tags_match(query)
|
def post_tags_match(query)
|
||||||
joins(:post).where("posts.tag_index @@ to_tsquery('danbooru', ?)", query)
|
joins(:post).where("posts.tag_index @@ to_tsquery('danbooru', E?)", query)
|
||||||
end
|
end
|
||||||
|
|
||||||
def for_creator(user_id)
|
def for_creator(user_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user