Fix hide/show command to work for older browsers

Issue #73 resolved
antiaverage created an issue

Currently we use "let" to declare a variable which is unsupported in ES5 and below. This causes older browsers which do not support ES2015 and newer to fail to load chat.

We have three options: * Force users to upgrade browsers * Refactor to use ES5 only * Introduce Babel

Comments (7)

  1. antiaverage reporter

    My recommendation is to retain backwards compatibility and refactor to use ES5 for now

  2. Alan Beam

    I agree that retaining backwards compatibility is the best option. I will take this and work on it now.

  3. Log in to comment