diff options
author | Javan Makhmali <javan@javan.us> | 2018-01-01 13:24:51 -0500 |
---|---|---|
committer | Javan Makhmali <javan@javan.us> | 2018-01-01 13:24:51 -0500 |
commit | 48de6e9bdad29ae4488679c646b72a697907fe7a (patch) | |
tree | 7054c706485bd0e8ca81f42a89791975c3198b11 /actionview/app/assets/javascripts/rails-ujs | |
parent | 41e3bbdee1a33bd4a8f5c54a808b31ebb598898c (diff) | |
download | rails-48de6e9bdad29ae4488679c646b72a697907fe7a.tar.gz rails-48de6e9bdad29ae4488679c646b72a697907fe7a.tar.bz2 rails-48de6e9bdad29ae4488679c646b72a697907fe7a.zip |
Revert unintentional change in 41e3bbd
Diffstat (limited to 'actionview/app/assets/javascripts/rails-ujs')
-rw-r--r-- | actionview/app/assets/javascripts/rails-ujs/utils/event.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/app/assets/javascripts/rails-ujs/utils/event.coffee b/actionview/app/assets/javascripts/rails-ujs/utils/event.coffee index 0cb8ce6ba4..a7eee52060 100644 --- a/actionview/app/assets/javascripts/rails-ujs/utils/event.coffee +++ b/actionview/app/assets/javascripts/rails-ujs/utils/event.coffee @@ -7,7 +7,7 @@ CustomEvent = window.CustomEvent if typeof CustomEvent isnt 'function' - window.CustomEvent = (event, params) -> + CustomEvent = (event, params) -> evt = document.createEvent('CustomEvent') evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail) evt |