1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-25 11:13:52 +02:00
mister-ben 03bab83dde fix: prevent dupe events on enabled ClickableComponents (#4316)
Prevent ClickableComponents re-adding event listeners each time enabled() is called.

* Keeps track of enabled state (this.enabled_)
* enable() doesn't do anything if the component is enabled, so the event handlers are not re-added

Fixes #4312
2017-05-11 17:32:20 -04:00
..
2017-01-26 22:04:34 -05:00
2017-01-19 17:29:09 -05:00
2017-01-19 17:29:09 -05:00