mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Merge branch 'dbkr/email_notifs' into develop
This commit is contained in:
commit
d9077584cd
@ -182,6 +182,13 @@ window.onload = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function loadApp() {
|
function loadApp() {
|
||||||
|
if (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream) {
|
||||||
|
if (confirm("Vector works much better on iOS as an app. Switch to the app?")) {
|
||||||
|
window.location = "https://itunes.apple.com/us/app/vector.im/id1083446067";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
console.log("Vector starting at "+window.location);
|
console.log("Vector starting at "+window.location);
|
||||||
if (validBrowser) {
|
if (validBrowser) {
|
||||||
var MatrixChat = sdk.getComponent('structures.MatrixChat');
|
var MatrixChat = sdk.getComponent('structures.MatrixChat');
|
||||||
|
Loading…
Reference in New Issue
Block a user