cinera_player_pre.js: Remove spurious console.log
This commit is contained in:
parent
22633794b5
commit
8283e2a9e5
|
@ -168,7 +168,6 @@ GetWidthOfHideableElement(Element, UnhidingClass)
|
|||
function
|
||||
ComputeVerticalOffsetForMenu(Menu, Toggler, VideoContainerDimY)
|
||||
{
|
||||
console.log("ComputeVerticalOffsetForMenu()");
|
||||
var Result = 0;
|
||||
var MenuHeight = GetHeightOfHideableElement(Menu, "visible");
|
||||
var TogglerHeight = Toggler.offsetHeight;
|
||||
|
@ -176,15 +175,11 @@ ComputeVerticalOffsetForMenu(Menu, Toggler, VideoContainerDimY)
|
|||
var TogglerOffset = Toggler.offsetTop;
|
||||
var Result = TogglerOffset + (TogglerHeight / 2) - (MenuHeight / 2);
|
||||
|
||||
console.log("Lower Point (0): " + (Result + MenuHeight));
|
||||
console.log("VideoContainerDimY (0): " + VideoContainerDimY);
|
||||
var LowerProtrusion = MenuHeight + Result - VideoContainerDimY;
|
||||
if(LowerProtrusion > 0)
|
||||
{
|
||||
Result -= LowerProtrusion;
|
||||
}
|
||||
console.log("Lower Point (1): " + (Result + MenuHeight));
|
||||
console.log("VideoContainerDimY (1): " + VideoContainerDimY);
|
||||
|
||||
if(Result < 0)
|
||||
{
|
||||
|
@ -1333,7 +1328,6 @@ function handleKey(key) {
|
|||
if(focusedElement.classList.contains("support"))
|
||||
{
|
||||
focusedElement.classList.remove("focused");
|
||||
console.log(focusedElement);
|
||||
unfocusSprite(focusedElement);
|
||||
|
||||
lastFocusedCreditItem = focusedElement.previousElementSibling;
|
||||
|
|
Loading…
Reference in New Issue