Since _checkScrollbar, _setScrollbar and _resetScrollbar doesn't exist anymore in BS5 and that these functions were removed during the migration as you can see here: [1], compensateScrollbar is no longer used for modals. That's why this commit removes the 'compensateScrollbar' function from 'jquery.js' and adds the code of this function in the 'menu.js' file in Website because that's the only place we need it now for the affixed header. [1]: https://github.com/odoo/odoo/commit/0b94da214b7017e8580e671cbaa68ade6de2fbc7# task-2985702 closes odoo/odoo#100894 X-original-commit: f3f45c93d3e942b224332924d66f2e48fc711002 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>