From add87db811365d2c7fc30b9e3508bb4baf9d527c Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sun, 24 Jul 2016 13:35:08 +0200 Subject: [PATCH] Removed unnecessary fullscreen toggling code. --- src/assets/js/backend_calendar.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/assets/js/backend_calendar.js b/src/assets/js/backend_calendar.js index 1c5359b4..d09ba4ec 100644 --- a/src/assets/js/backend_calendar.js +++ b/src/assets/js/backend_calendar.js @@ -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)