update security context alert

This commit is contained in:
Stewart Allen 2024-06-13 22:17:20 -04:00
commit 7324870856
2 changed files with 4 additions and 2 deletions

View file

@ -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});