DataTables/VisualEvent — Issue #4: Issue in Chrome caused by JavaScript 'indexOf' method
Author: szilardd
Created: 2012-01-06 09:58:37+00:00
State: open

I have the following 'indexOf' polyfill defined in one of my javascript files (because IE 7 doesn't support it natively):

if (!Array.indexOf) {
Array.prototype.indexOf = function (obj, start) { //implementation not relevant }
}

Only in Chrome (I'm using the latest version), when I use Visual Event (either versions), the 'indexOf' method is shown as a 'click' event on all anchor tags (in Firefox it's working fine). I'm using jQuery 1.6.4.

This is the description of the event shown by Visual Event:

click event subscribed by jQuery 1.6.4 (trigger event)
Function defined on line 55 in overrides.js

Hope this helps.

Thanks for this tool, it helps me a lot in optimizing my website!