It would appear that FireFox is VERY fussy about some syntax that other browsers are quite happy with.
George (gwheelo) has discovered that the humble HTML comment code can make your javascript do unexpected things !
Code: Select all
<!-- this comment works -->
<!-- -------this comment works----- -->
<!------- this comment seems to work, but javascript may lose the plot --->
[less than][hyphen][hyphen][space][comment][space][hyphen][hyphen][more than]