Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Preloader - Character Encoding on external script files

$
0
0

Hi,

 

I have found a slight bug in the generated preloader file _edgePreload.js.

 

Basically when the preloader creates the script elements, it doesnt set the charset attribute which causes issues with foriegn characters in certain browsers including FireFox.

 

This can be found on line 11 & line 2 of the minifed published version of the  _edgePreload.js file.

 

var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;

 

The following should also be included after the code above to fix the problem.

 

k.type="text/javascript";k.charset="utf-8"

 

Is this something that can be include in the next update? or is there any other alternate suggests insted of manually having to add this to the _edgePreload.js each time its published.

 

Thanks,

Nik


Viewing all articles
Browse latest Browse all 9897

Trending Articles