Change mark message buttons visibility with hidden attr
This commit is contained in:
parent
179c70f725
commit
c751967d0e
3 changed files with 5 additions and 11 deletions
|
@ -27,6 +27,8 @@ $(document).ready(function () {
|
|||
function updateReadState(target, isRead) {
|
||||
$(target).closest("tr")
|
||||
.toggleClass("inbox-row", isRead)
|
||||
.toggleClass("inbox-row-unread", !isRead);
|
||||
.toggleClass("inbox-row-unread", !isRead)
|
||||
.find(".inbox-mark-unread button").prop("hidden", !isRead).end()
|
||||
.find(".inbox-mark-read button").prop("hidden", isRead);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1141,14 +1141,6 @@ tr.turn:hover {
|
|||
}
|
||||
}
|
||||
|
||||
.inbox-row .inbox-mark-read {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.inbox-row-unread .inbox-mark-unread {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.search_form {
|
||||
background-color: $lightgrey;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue