src/Extension/audience-display.content.js
/**
 * Called every time the mouse is moved.  If the mouse has moved to a new 
 * element, restore the original styling for the previous element and 
 * add the highlighted styles for the new element.
 */
Called every time the mouse is moved.  If the mouse has moved to a new
element, restore the original styling for the previous element and
add the highlighted styles for the new element.
Called every time the mouse is moved . If the mouse has moved to a new element restore the original styling for the previous element and add the highlighted styles for the new element .
function onMouseMove(evt) {
    var elem = document.elementFromPoint(evt.clientX, evt.clientY);
    if (elem != lastElem) {
        window.setTimeout(function () {
            resetOldStyles();
            saveElementStyles(elem, ['-webkit-box-shadow', 'cursor', 'border']);
            setStyleList(elem, {
                '-webkit-box-shadow': '0 2px 6px #f66',
                'cursor': 'pointer',
                'border': '2px solid #f00'
            });
        }, 100);
    }
}
function onMouseMove ( evt ) { var elem = document . elementFromPoint ( evt . clientX , evt . clientY ) ; if ( elem != lastElem ) { window . setTimeout ( function ( ) { resetOldStyles ( ) ; saveElementStyles ( elem , [ '-webkit-box-shadow' , 'cursor' , 'border' ] ) ; setStyleList ( elem , { '-webkit-box-shadow' : '0 2px 6px #f66' , 'cursor' : 'pointer' , 'border' : '2px solid #f00' } ) ; } , 100 ) ; } }
Called every time the mouse is moved.
Called every time the mouse is moved .