From 7b282f637faa7c179561931ecc656c2172160590 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 19 Feb 2018 13:00:10 +0100 Subject: [PATCH] Remove debug code --- skins/elastic/ui.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index ef0253506..d52896230 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -1194,7 +1194,6 @@ function rcube_elastic_ui() mode = size; screen_resize(); screen_resize_html(); -// display_screen_size(); // debug info // disable ext-windows and other features if (mobile = is_mobile()) { @@ -1210,26 +1209,6 @@ function rcube_elastic_ui() $.each(content_buttons, function() { $(this)[mobile ? 'hide' : 'show'](); }); }; - // for development only (to be removed) - function display_screen_size() - { - if (is_framed) { - return; - } - - var div = $('#screen-size'), win = $(window); - if (!div.length) { - div = $('
').attr({ - id: 'screen-size', - style: 'position:absolute;display:block;right:0;z-index:100;' - + (is_framed ? 'top:0;' : 'bottom:0;') - + 'opacity:0.5;color:white;background-color:black;white-space:nowrap' - }).appendTo(document.body); - } - - div.text(win.width() + ' x ' + win.height() + ' (' + mode + ')'); - }; - function screen_resize() { if (is_framed && !layout.sidebar.length && !layout.list.length) {