I am getting an error with IE 7.

The error is:

---------------------------
Error
---------------------------
A Runtime Error has occurred.
Do you wish to Debug?

Line: 11
Error: Expected identifier, string or number
---------------------------

When I debug the code, it points to this line in automodal.js

$(selector).click(function () {

Any ideas why this might be happening? thank you.

Comments

danny englander’s picture

oops, sorry I just realized this is a duplicate of:

http://drupal.org/node/699892#comment-2546378

I took out the comma and it works now.

mfer’s picture

Status: Active » Closed (duplicate)