revert previous commit and fix z-index on attachment buttons
This commit is contained in:
parent
3473b56260
commit
8454787886
2 changed files with 1 additions and 3 deletions
|
|
@ -138,7 +138,7 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
z-index: 1;
|
z-index: 0;
|
||||||
|
|
||||||
.attachment-button {
|
.attachment-button {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
||||||
|
|
@ -115,8 +115,6 @@ const api = {
|
||||||
({ detail: message }) => {
|
({ detail: message }) => {
|
||||||
const replyVisibility = rootState.config.replyVisibility;
|
const replyVisibility = rootState.config.replyVisibility;
|
||||||
if (!message) return; // pings
|
if (!message) return; // pings
|
||||||
// check deletes to avoid an error in console
|
|
||||||
if ((message.event !== "delete") && (message.status.user.id === store.rootState.users.currentUser.id)) return;
|
|
||||||
if (message.event === "notification") {
|
if (message.event === "notification") {
|
||||||
dispatch("addNewNotifications", {
|
dispatch("addNewNotifications", {
|
||||||
notifications: [message.notification],
|
notifications: [message.notification],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue