diff --git a/js/VisualEvent.js b/js/VisualEvent.js index 34c3660..6d81a74 100644 --- a/js/VisualEvent.js +++ b/js/VisualEvent.js @@ -572,6 +572,9 @@ VisualEvent.prototype = { // Element is hidden if ( $(eventNode.node).filter(':visible').length === 0 ) { + if ( window.console && window.console.warn ) { + console.warn("Event on invisible element", eventNode.node, eventNode); + } this.s.nonDomEvents += 1; return; }