update security context alert
This commit is contained in:
parent
4d811972f6
commit
7324870856
2 changed files with 4 additions and 2 deletions
|
|
@ -382,7 +382,8 @@ function preparePreview(callback, scale = 1, offset = 0) {
|
|||
function prepareAnimation() {
|
||||
if (!window.SharedArrayBuffer) {
|
||||
api.alerts.show("The security context of this");
|
||||
api.alerts.show("window prevents animations");
|
||||
api.alerts.show("window prevents animations.");
|
||||
api.alerts.show("Try a Chromium-based browser");
|
||||
return;
|
||||
}
|
||||
api.event.emit("function.animate", {mode: api.conf.get().mode});
|
||||
|
|
|
|||
|
|
@ -2627,7 +2627,8 @@ gapp.register("kiri.init", [], (root, exports) => {
|
|||
// warn of degraded functionality when SharedArrayBuffers are missing
|
||||
if (api.feature.work_alerts && !window.SharedArrayBuffer) {
|
||||
api.alerts.show("The security context of this", 10);
|
||||
api.alerts.show("window blocks important functionality", 10);
|
||||
api.alerts.show("Window blocks important functionality.", 10);
|
||||
api.alerts.show("Try a Chromium-base Browser instead", 10);
|
||||
}
|
||||
|
||||
// add keyboard focus handler (must use for iframes)
|
||||
|
|
|
|||
Loading…
Reference in a new issue