Bug JS menu positioning fails if .menu-arrow element is missing

There is a bug in this version
W

willl

Guest
With the refactored JS, there is one issue I've discovered; getHorizontalPosition will error out at menuArrow.style.top = '' if the menu being loaded doesn't contain an element with .menu-arrow; In XF 2.2 using jQuery it's just do a silent graceful fail on setting CSS and continue on, but without jQuery no error handling is in place for null values, so the function itself fails and it doesn't complete the positioning of the rendered menu.

Adding an element at the top of...

Read more

Continue reading...