MediaWiki talk:Wikimediaplayer.jsFix for link iteration{{editprotected}}
Hi there. An issue was identified at Wikipedia:Village Pump (technical)#Prose size script that I believe is caused by a combination of bad behavior in Internet Explorer and this module. In short, the use of a for/in loop with One fix is to use a traditional for loop to fix this. The requested changes is to change the two instances of this code (lines 95 and 125): for( var key in links ) To be this code: for( var key = 0; key < links.length; key++ ) This will cause all browsers to use only numeric indexes that are in range and fix problems people are seeing in Internet Explorer. The problems with this script seem to be preventing all user JavaScript from loading on affected pages. Mike Dillon 15:49, 23 May 2007 (UTC)
|
Portal di Ensiklopedia Dunia