X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c751967d0ec42b14b3f79016f0cfaa81d08849c3..4c4150e0d0dc43c0468388956728d8ffc43e6c9c:/app/assets/javascripts/messages.js diff --git a/app/assets/javascripts/messages.js b/app/assets/javascripts/messages.js index d34ffb466..5accc1a60 100644 --- a/app/assets/javascripts/messages.js +++ b/app/assets/javascripts/messages.js @@ -28,7 +28,7 @@ $(document).ready(function () { $(target).closest("tr") .toggleClass("inbox-row", isRead) .toggleClass("inbox-row-unread", !isRead) - .find(".inbox-mark-unread button").prop("hidden", !isRead).end() - .find(".inbox-mark-read button").prop("hidden", isRead); + .find(".inbox-mark-unread").prop("hidden", !isRead).end() + .find(".inbox-mark-read").prop("hidden", isRead); } });