mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
524253382c
Before this change when a modal was shown and an element on the page was fullscreen the modal would be created behind it. This change ensures that the modal will be inside an element that is fullscreen so that it will be correctly displayed.
3 lines
511 B
JavaScript
3 lines
511 B
JavaScript
define ("core/fullscreen",["exports"],function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});a.getElement=void 0;a.getElement=function getElement(){var a=null;if(document.fullscreenElement){a=document.fullscreenElement}else if(document.mozFullscreenElement){a=document.mozFullscreenElement}else if(document.msFullscreenElement){a=document.msFullscreenElement}else if(document.webkitFullscreenElement){a=document.webkitFullscreenElement}return a}});
|
|
//# sourceMappingURL=fullscreen.min.js.map
|