prevent awkward zoom in mobile text input

This commit is contained in:
Roland Osborne 2022-08-15 11:59:02 -07:00
parent 3fc130b5c8
commit 0a9a2a0994
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta <meta
name="Databag" name="Databag"

View File

@ -41,7 +41,7 @@ export function useChannels() {
} }
let key = `${chan.id}::${chan.cardId}` let key = `${chan.id}::${chan.cardId}`
if (store.state[key] && store.state[key] == chan.revision) { if (store.state[key] && store.state[key] === chan.revision) {
chan.updated = false; chan.updated = false;
} }
else { else {
@ -51,11 +51,11 @@ export function useChannels() {
const setContacts = (chan) => { const setContacts = (chan) => {
let contacts = []; let contacts = [];
if (chan.guid != null && profile.state.profile.guid != chan.guid) { if (chan.guid != null && profile.state.profile.guid !== chan.guid) {
contacts.push(card.actions.getCardByGuid(chan.guid)); contacts.push(card.actions.getCardByGuid(chan.guid));
} }
for (let guid of chan.data.channelDetail?.members) { for (let guid of chan.data.channelDetail?.members) {
if (guid != profile.state.profile.guid) { if (guid !== profile.state.profile.guid) {
contacts.push(card.actions.getCardByGuid(guid)); contacts.push(card.actions.getCardByGuid(guid));
} }
} }