Removed unnecessary fullscreen toggling code.

This commit is contained in:
Alex Tselegidis 2016-07-24 13:35:08 +02:00
parent d78710f60b
commit add87db811

View file

@ -37,13 +37,6 @@ window.BackendCalendar = window.BackendCalendar || {};
if (isFullScreen) {
// Exit fullscreen mode.
// var exitFullScreen = element.exitFullScreen
// || element.msExitFullscreen
// || element.mozCancelFullScreen
// || element.webkitExitFullscreen;
// exitFullScreen.call(element);
if (document.exitFullscreen)
document.exitFullscreen();
else if (document.msExitFullscreen)