6 lines
151 B
JavaScript
Raw Normal View History

'use strict';
const noop = () => {};
// eslint-disable-next-line no-undef
Object.defineProperty(window, 'scrollTo', { value: noop, writable: true });