add <noscript> message

This commit is contained in:
or-else
2018-10-31 12:12:10 +03:00
parent 0198f446d4
commit e7f3b424e4
8 changed files with 71 additions and 38 deletions
+1 -4
View File
@@ -16,7 +16,7 @@ import SidepanelView from './sidepanel-view.jsx';
import { API_KEY, APP_NAME, MEDIA_BREAKPOINT, READ_DELAY, RECEIVED_DELAY } from '../config.js';
import { makeImageUrl } from '../lib/blob-helpers.js';
import { isLocalHost, isSecureConnection } from '../lib/host-name.js';
import { detectServerAddress, isLocalHost, isSecureConnection } from '../lib/host-name.js';
import LocalStorageUtil from '../lib/local-storage.js';
import HashNavigation from '../lib/navigation.js';
import { updateFavicon } from '../lib/utils.js';
@@ -24,9 +24,6 @@ import { updateFavicon } from '../lib/utils.js';
// Sound to play on message received.
const POP_SOUND = new Audio('audio/msg.mp3');
console.log("desktop alerts: is secure, is localhost, firebase, navigator, fb_init",
isSecureConnection(), isLocalHost(), (typeof firebase), (typeof navigator), (typeof FIREBASE_INIT));
class TinodeWeb extends React.Component {
constructor(props) {
super(props);