thuansaritasa / swfobject

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

<script> has no type attribute #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open source of swfobject

What is the expected output? What do you see instead?
I see:
<script id=__ie_ondomload defer=true src=//:><\/script>
Expected:
<script id=__ie_ondomload type="javascript" defer=true src=//:><\/script>

What version of the product are you using? On what operating system?
2.1

Please provide any additional information below.

Original issue reported on code.google.com by kingo...@gmail.com on 10 Feb 2009 at 11:04

GoogleCodeExporter commented 9 years ago
Get your point, however this is currently an ugly workaround for IE, and in IE 
it
works correctly without the type.

From SWFObject 2.2 onwards we use an inline test that replaces the deferred 
script
for onload. 

Original comment by bobbyvandersluis on 10 Feb 2009 at 12:04