diff --git a/Source/Core/Fullscreen.js b/Source/Core/Fullscreen.js index 14d3ff347dc9..dc26dddd12b7 100644 --- a/Source/Core/Fullscreen.js +++ b/Source/Core/Fullscreen.js @@ -103,11 +103,19 @@ define(['./defined'], function(defined) { name = prefix + 'fullscreenchange'; // event names do not have 'on' in the front, but the property on the document does if (defined(document['on' + name])) { + //except on IE + if (prefix === 'ms') { + name = 'MSFullscreenChange'; + } _names.fullscreenchange = name; } name = prefix + 'fullscreenerror'; if (defined(document['on' + name])) { + //except on IE + if (prefix === 'ms') { + name = 'MSFullscreenError'; + } _names.fullscreenerror = name; } }