]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/messages.js
Merge pull request #4279 from tomhughes/changeset-tags-primary-key
[rails.git] / app / assets / javascripts / messages.js
index d34ffb46662bfa8caa1aed64b90271b146559d8c..5accc1a6036fb94ec958eaf8f5c803832ecf3c09 100644 (file)
@@ -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);
   }
 });