refactor: miss prefix

fix _fullscreen.prefix can't work
This commit is contained in:
Amo Wu 2016-11-10 16:27:10 +08:00 committed by GitHub
parent 7965b82cca
commit 02bc8c8445

View File

@ -615,6 +615,7 @@
})();
_fullscreen = {
prefix: prefix,
// Yet again Microsoft awesomeness,
// Sometimes the prefix is 'ms', sometimes 'MS' to keep you on your toes
eventType: (prefix === 'ms' ? 'MSFullscreenChange' : prefix + 'fullscreenchange'),