You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
@szilardd You shouldn't test if (!Array.indexOf), because Array.indexOf can be undefined, although [].indexOf is defined. (and I know the comment is old, but so is the issue :) )
In Firefox it seems that Array.indexOf is defined too: Array.indexOf([0,1,2,3], 2) === 2
@tehnicaorg: Thank you, kind sir! You are right, though that should not affect Visual Event. Anyways, I haven't had any problems since, so the issue can be closed as far as I'm concerned
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!
The text was updated successfully, but these errors were encountered: