fix error spam about the cursor
This commit is contained in:
@@ -59,8 +59,6 @@ var audioInitialPlayback = false;
|
||||
var queuePos = null;
|
||||
var disconnected = false;
|
||||
|
||||
document.onmousemove = updateCursorPosition;
|
||||
|
||||
function init()
|
||||
{
|
||||
switchExpansion();
|
||||
@@ -230,17 +228,6 @@ function showSettings()
|
||||
}
|
||||
}
|
||||
|
||||
function updateCursorPosition(e)
|
||||
{
|
||||
if(cursor === undefined)
|
||||
{
|
||||
cursor = document.getElementById("cursor");
|
||||
console.log('Setting cursor');
|
||||
}
|
||||
cursor.style.top = e.y + 'px';
|
||||
cursor.style.left = e.x + 'px';
|
||||
}
|
||||
|
||||
function adjustVolume()
|
||||
{
|
||||
var slider = document.getElementById("volumeSlider");
|
||||
|
||||
Reference in New Issue
Block a user