Remove standard js lib comments

This commit is contained in:
Clemens Schwaighofer
2020-05-11 08:18:57 +09:00
parent 06fe9657e2
commit 2f1388494f
2 changed files with 11 additions and 11 deletions

View File

@@ -435,7 +435,7 @@ function actionIndicator(loc, overlay = true)
*/ */
function actionIndicatorShow(loc, overlay = true) function actionIndicatorShow(loc, overlay = true)
{ {
console.log('Indicator: SHOW [%s]', loc); // console.log('Indicator: SHOW [%s]', loc);
if (!$('#indicator').is(':visible')) { if (!$('#indicator').is(':visible')) {
$('#indicator').addClass('progress'); $('#indicator').addClass('progress');
setCenter('indicator', true, true); setCenter('indicator', true, true);
@@ -455,7 +455,7 @@ function actionIndicatorShow(loc, overlay = true)
*/ */
function actionIndicatorHide(loc, overlay = true) function actionIndicatorHide(loc, overlay = true)
{ {
console.log('Indicator: HIDE [%s]', loc); // console.log('Indicator: HIDE [%s]', loc);
$('#indicator').hide(); $('#indicator').hide();
$('#indicator').removeClass('progress'); $('#indicator').removeClass('progress');
if (overlay === true) { if (overlay === true) {
@@ -536,7 +536,7 @@ function ClearCall()
*/ */
function showActionIndicator(loc) function showActionIndicator(loc)
{ {
console.log('Indicator: SHOW [%s]', loc); // console.log('Indicator: SHOW [%s]', loc);
// check if indicator element exists // check if indicator element exists
if ($('#indicator').length == 0) { if ($('#indicator').length == 0) {
var el = document.createElement('div'); var el = document.createElement('div');
@@ -570,7 +570,7 @@ function showActionIndicator(loc)
*/ */
function hideActionIndicator(loc) function hideActionIndicator(loc)
{ {
console.log('Indicator: HIDE [%s]', loc); // console.log('Indicator: HIDE [%s]', loc);
// check if indicator is visible // check if indicator is visible
if ($('#indicator').is(':visible')) { if ($('#indicator').is(':visible')) {
// hide indicator // hide indicator
@@ -610,7 +610,7 @@ function checkOverlayExists()
*/ */
function showOverlayBoxLayers(el_id) function showOverlayBoxLayers(el_id)
{ {
console.log('SHOW overlaybox: %s', GL_OB_S); // console.log('SHOW overlaybox: %s', GL_OB_S);
// if overlay box is not visible show and set zIndex to 0 // if overlay box is not visible show and set zIndex to 0
if (!$('#overlayBox').is(':visible')) { if (!$('#overlayBox').is(':visible')) {
$('#overlayBox').show(); $('#overlayBox').show();
@@ -629,7 +629,7 @@ function showOverlayBoxLayers(el_id)
$('#' + el_id).show(); $('#' + el_id).show();
} }
} }
console.log('SHOW overlaybox NEW zIndex: %s', $('#overlayBox').css('zIndex')); // console.log('SHOW overlaybox NEW zIndex: %s', $('#overlayBox').css('zIndex'));
} }
/** /**
@@ -642,7 +642,7 @@ function showOverlayBoxLayers(el_id)
*/ */
function hideOverlayBoxLayers(el_id) function hideOverlayBoxLayers(el_id)
{ {
console.log('HIDE overlaybox: %s', GL_OB_S); // console.log('HIDE overlaybox: %s', GL_OB_S);
// remove on layer // remove on layer
GL_OB_S --; GL_OB_S --;
// if 0 or lower (overflow) hide it and // if 0 or lower (overflow) hide it and
@@ -659,7 +659,7 @@ function hideOverlayBoxLayers(el_id)
$('#' + el_id).hide(); $('#' + el_id).hide();
$('#' + el_id).css('zIndex', 0); $('#' + el_id).css('zIndex', 0);
} }
console.log('HIDE overlaybox NEW zIndex: %s', $('#overlayBox').css('zIndex')); // console.log('HIDE overlaybox NEW zIndex: %s', $('#overlayBox').css('zIndex'));
} }
/** /**

View File

@@ -176,7 +176,7 @@ function setCenter(id, left, top)
var viewport = getWindowSize(); var viewport = getWindowSize();
var offset = getScrollOffset(); var offset = getScrollOffset();
console.log('Id %s, type: %s, dimensions %s x %s, viewport %s x %s', id, type, dimensions.width, dimensions.height, viewport.width, viewport.height); // console.log('Id %s, type: %s, dimensions %s x %s, viewport %s x %s', id, type, dimensions.width, dimensions.height, viewport.width, viewport.height);
// console.log('Scrolloffset left: %s, top: %s', offset.left, offset.top); // console.log('Scrolloffset left: %s, top: %s', offset.left, offset.top);
// console.log('Left: %s, Top: %s (%s)', parseInt((viewport.width / 2) - (dimensions.width / 2) + offset.left), parseInt((viewport.height / 2) - (dimensions.height / 2) + offset.top), parseInt((viewport.height / 2) - (dimensions.height / 2))); // console.log('Left: %s, Top: %s (%s)', parseInt((viewport.width / 2) - (dimensions.width / 2) + offset.left), parseInt((viewport.height / 2) - (dimensions.height / 2) + offset.top), parseInt((viewport.height / 2) - (dimensions.height / 2)));
if (left) { if (left) {
@@ -484,7 +484,7 @@ function actionIndicator(loc = '')
*/ */
function actionIndicatorShow(loc = '') function actionIndicatorShow(loc = '')
{ {
console.log('Indicator: SHOW [%s]', loc); // console.log('Indicator: SHOW [%s]', loc);
$('indicator').addClassName('progress'); $('indicator').addClassName('progress');
setCenter('indicator', true, true); setCenter('indicator', true, true);
$('indicator').show(); $('indicator').show();
@@ -498,7 +498,7 @@ function actionIndicatorShow(loc = '')
*/ */
function actionIndicatorHide(loc = '') function actionIndicatorHide(loc = '')
{ {
console.log('Indicator: HIDE [%s]', loc); // console.log('Indicator: HIDE [%s]', loc);
$('indicator').hide(); $('indicator').hide();
$('indicator').removeClassName('progress'); $('indicator').removeClassName('progress');
overlayBoxHide(); overlayBoxHide();