This commit is contained in:
Albert Yi
2018-04-27 15:48:52 -07:00
parent b93b28d049
commit 06e7dbb8e4

View File

@@ -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");