google-code-export / swfobject

Automatically exported from code.google.com/p/swfobject
1 stars 1 forks source link

callDomLoadFunctions be done twice #549

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Swfobject.js found in the test if there is no FLASH plug-in, the function 
callDomLoadFunctions be done twice, I think it is not necessary.

Original issue reported on code.google.com by flasher....@gmail.com on 14 Apr 2011 at 11:03

GoogleCodeExporter commented 9 years ago
You're correct that it gets called twice. We will investigate. Thanks.

Original comment by platelu...@gmail.com on 16 May 2011 at 6:08

GoogleCodeExporter commented 9 years ago
Fixed. Redundant call was being made regardless of whether Flash plugin was 
found. 

Eliminated redundant callDomLoadFunctions() invocation. 

Tested in OS X: Chrome 11, Safari 5, Firefox 4, Opera 11
Tested in Win7: IE9, Firefox 3.6
Tested in WinXP: IE7, Firefox 3.0

Original comment by platelu...@gmail.com on 21 May 2011 at 6:13