#17929Use prototype functions instead of own code, where it's possible in clickmenu.js
Description
In clickmenu.js the window object is extended by two functions window.getDimensions and window.getScrollOffset.
Both are already supported by prototype framwork with identical function names and very similar code, so no need for own functions here.
Solution: Use document.viewport.getDimensions() and document.viewport.getScrollOffsets() instead.
Comment:
This is a code cleanup, with low priority
(issue imported from #M6990)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.