summaryrefslogtreecommitdiffstats
path: root/src/autosize.js
diff options
context:
space:
mode:
authorJack Moore <hello@jacklmoore.com>2016-11-23 13:55:19 -0500
committerGitHub <noreply@github.com>2016-11-23 13:55:19 -0500
commit4910eb91493b8be157f082d93085a0251d1c42cf (patch)
tree9c44ee00741e07f3e6664de76374cf53640ddf6a /src/autosize.js
parentfa2fa308e91ff9f8ba1a9fb17a1b9cc620671ca8 (diff)
parentefb1f0d6802b78f4009f0d6be2b863ca259aab3f (diff)
downloadautosize-4910eb91493b8be157f082d93085a0251d1c42cf.zip
autosize-4910eb91493b8be157f082d93085a0251d1c42cf.tar.gz
autosize-4910eb91493b8be157f082d93085a0251d1c42cf.tar.bz2
Merge pull request #319 from antriver/master
Make events bubble
Diffstat (limited to 'src/autosize.js')
-rw-r--r--src/autosize.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autosize.js b/src/autosize.js
index 3625a8e..fbe9568 100644
--- a/src/autosize.js
+++ b/src/autosize.js
@@ -25,7 +25,7 @@ const map = (typeof Map === "function") ? new Map() : (function () {
}
})();
-let createEvent = (name)=> new Event(name);
+let createEvent = (name)=> new Event(name, {bubbles: true});
try {
new Event('test');
} catch(e) {