fixes #3674
This commit is contained in:
@@ -558,7 +558,7 @@
|
||||
|
||||
Danbooru.Post.favorite = function (e) {
|
||||
if ($("#add-to-favorites").is(":visible")) {
|
||||
$("#add-to-favorites").click();
|
||||
$("#add-to-favorites")[0].click();
|
||||
} else {
|
||||
if (Danbooru.meta("current-user-id") == "") {
|
||||
Danbooru.notice("You must be logged in to favorite posts");
|
||||
|
||||
Reference in New Issue
Block a user