MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / syncRusenseTabToggle

Function syncRusenseTabToggle

web/scripts/ragnar_modern.js:1000–1003  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

998 if (req) Promise.resolve(req.call(obs)).catch(() => { /* CSS overlay still applies */ });
999 } else {
1000 const exit = document.exitFullscreen || document.webkitExitFullscreen;
1001 if (exit && (document.fullscreenElement || document.webkitFullscreenElement)) {
1002 Promise.resolve(exit.call(document)).catch(() => {});
1003 }
1004 }
1005 });
1006 // Keep the CSS overlay in sync when the user leaves OS fullscreen via Esc.

Callers 2

showTabFunction · 0.70

Calls 1

_rusenseTabVisibleFunction · 0.70

Tested by

no test coverage detected