TOC menu not displaying correctly in IE11

Description

The Table of Contents menu (menu on the right) is not displaying correctly in IE11

Steps to reproduce

View the docs site in IE11.

Actual result

The TOC menu is displaying in the content section of the document instead of the designated space on the right-hand side of the page. Screenshot_2019-07-25_at_14.42.37

Expected result

The TOC menu should display in the designated section on the right-hand side of the page. Screenshot_2019-07-25_at_14.43.08

Further details

Console output

Screenshot_2019-07-25_at_14.39.34

Possible fix

IE11 does not support modern JavaScript standards such as arrow functions. An arrow function was used as an event handler for the TOC activate.bs.scrollspy event (see screenshot below) which prevents some other important scripts from executing. Changing the event handler to rather use the ES5 syntax should fix the problem.

Screenshot_2019-07-25_at_14.39.45

Edited by Jacques Erasmus