This commit is contained in:
albert
2013-02-28 22:15:24 -08:00
parent 639ed80655
commit 0f4d7709b6
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@
});
$(document).bind("keydown.right", function(e) {
Danbooru.Post.nav_pool_prev();
Danbooru.Post.nav_pool_next();
e.preventDefault();
});

View File

@@ -28,7 +28,7 @@ class Comment < ActiveRecord::Base
end
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
def for_creator(user_id)