mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
more notes for legacy css marker
This commit is contained in:
parent
3359d49161
commit
0a83bf1176
@ -81,7 +81,7 @@ async function loadOlmWorker(paths) {
|
|||||||
// see https://github.com/rollup/plugins/tree/master/packages/multi-entry
|
// see https://github.com/rollup/plugins/tree/master/packages/multi-entry
|
||||||
export async function main(container, paths, legacyExtras) {
|
export async function main(container, paths, legacyExtras) {
|
||||||
try {
|
try {
|
||||||
// TODO: add .legacy to body in (legacy)platform.createAndMountRootView; and use body:not(.legacy) if needed for modern stuff
|
// TODO: add .legacy to .hydrogen (container) in (legacy)platform.createAndMountRootView; and use .hydrogen:not(.legacy) if needed for modern stuff
|
||||||
const isIE11 = !!window.MSInputMethodContext && !!document.documentMode;
|
const isIE11 = !!window.MSInputMethodContext && !!document.documentMode;
|
||||||
if (isIE11) {
|
if (isIE11) {
|
||||||
document.body.className += " ie11";
|
document.body.className += " ie11";
|
||||||
@ -104,7 +104,7 @@ export async function main(container, paths, legacyExtras) {
|
|||||||
} else {
|
} else {
|
||||||
request = xhrRequest;
|
request = xhrRequest;
|
||||||
}
|
}
|
||||||
const sessionInfoStorage = new SessionInfoStorage("brawl_sessions_v1");
|
const sessionInfoStorage = new SessionInfoStorage("hydrogen_sessions_v1");
|
||||||
const storageFactory = new StorageFactory();
|
const storageFactory = new StorageFactory();
|
||||||
|
|
||||||
const olmPromise = loadOlm(paths.olm);
|
const olmPromise = loadOlm(paths.olm);
|
||||||
|
Loading…
Reference in New Issue
Block a user