disable shared array warning when api overrides messages
This commit is contained in:
parent
7c7229451e
commit
83857382e4
1 changed files with 2 additions and 2 deletions
|
|
@ -1517,9 +1517,9 @@ gapp.register("kiri.init", [], (root, exports) => {
|
||||||
// MAIN INITIALIZATION FUNCTION
|
// MAIN INITIALIZATION FUNCTION
|
||||||
|
|
||||||
function init_one() {
|
function init_one() {
|
||||||
let { event, conf, view, show } = api;
|
let { event, conf, view, show, feature } = api;
|
||||||
|
|
||||||
if (!window.SharedArrayBuffer) {
|
if (feature.work_alerts && !window.SharedArrayBuffer) {
|
||||||
api.alerts.show("The security context of this", 10);
|
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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue