Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.

IE error in js/global.js

edited October 2009 in Vanilla 2.0 - 2.8
this is an FYI I guess :)

(BTW .. I'm having great fun hacking about with Vanilla :) )

line 141 of global.js produces an error in IE. It seems "item" is a reserved word in IE

The fix is simple:

change line 141 to look like this:

var item = targets[i];

This defines "item" as a variable, and overrides the default reserved word functionality

Paul.

Comments

Sign In or Register to comment.