Title: TOC Javascript and ES5 compatibility
Last modified: January 9, 2021

---

# TOC Javascript and ES5 compatibility

 *  Resolved [chrwald82](https://wordpress.org/support/users/chrwald82/)
 * (@chrwald82)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/toc-javascript-and-es5-compatibility/)
 * Hi,
 * I’ve seen, that the JS for the TOC uses ES6 Arrow-Function Syntax in one place(
   table-of-contents.js, line 127), which does cause the TOC to not be working in
   IE11. Transpiling this line to ES5 fixes the problem.
 * Since it is only one line: Is there any chance to get backward-compatibility 
   to ES5?
 * Best regards
    Christ

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/toc-javascript-and-es5-compatibility/#post-13890866)
 * Hello [@chrwald82](https://wordpress.org/support/users/chrwald82/) ,
 * We’re sorry for the inconvenience caused to you. Also, ﻿we are thankful for your
   patience and readiness to help us fix things that we come across.
    ﻿ I’m able
   to reproduce the same at our end. I have reported the same to the concerned developer
   team. It will be fixed in our upcoming update.
 * Your patience and co-operation is highly appreciated.
 *  Thread Starter [chrwald82](https://wordpress.org/support/users/chrwald82/)
 * (@chrwald82)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/toc-javascript-and-es5-compatibility/#post-13890988)
 * Hello,
 * great news. Thank you very much!
 * Chris
 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/toc-javascript-and-es5-compatibility/#post-13895285)
 * You’re most welcome, [@chrwald82](https://wordpress.org/support/users/chrwald82/)!
 * If you need any further help, please do let us know.
 * Have a great day ahead.
 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/toc-javascript-and-es5-compatibility/#post-14007583)
 * Hello [@chrwald82](https://wordpress.org/support/users/chrwald82/) ,
 * I’d liked to let you know, we have already fixed this issue in our version 1.20.1,
   so I’m going to mark this as resolved – if you have any further questions, you
   can start a new thread.
 * Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘TOC Javascript and ES5 compatibility’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-addons-for-gutenberg/assets/icon-256x256.gif?rev
   =3240412)
 * [Spectra Gutenberg Blocks – Website Builder for the Block Editor](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 4 replies
 * 2 participants
 * Last reply from: [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/toc-javascript-and-es5-compatibility/#post-14007583)
 * Status: resolved