select-your-own-seat

Expand History Expand History
Collapse History Collapse History

Hide elements that require JavaScript

This commit hides the elements that do not function without JavaScript enabled: the zoom controls.

To hide the zoom controls when JavaScript is disabled, declare their <div> with the hidden attribute.

Next, when JavaScript is enabled, remove the hidden attribute when the seats controller attaches to the DOM in its connect() lifecycle callback.