CI/CD / preconditions (pull_request) Successful in 1s
Native JavaScript checks / Native launcher and release tests (pull_request) Successful in 1m13s
macOS checks / Native Rust tests and unsigned build (pull_request) Successful in 1m44s
CI/CD / test_and_check_app (pull_request) Successful in 7m4s
CI/CD / Publish immutable image (pull_request) Skipped
19 lines
458 B
JavaScript
19 lines
458 B
JavaScript
(() => {
|
|
if (window.top !== window) {
|
|
return;
|
|
}
|
|
|
|
const constrainScroll = () => {
|
|
if (document.documentElement) {
|
|
document.documentElement.style.overscrollBehaviorY = 'none';
|
|
}
|
|
if (document.body) {
|
|
document.body.style.overscrollBehaviorY = 'none';
|
|
}
|
|
};
|
|
constrainScroll();
|
|
document.addEventListener('DOMContentLoaded', constrainScroll, {
|
|
once: true,
|
|
});
|
|
})();
|