mirror of
https://scm.univ-tours.fr/22107988t/rappaurio-sae501_502.git
synced 2025-08-29 09:55:57 +02:00
4 lines
233 B
JavaScript
4 lines
233 B
JavaScript
//IE Fix, src: https://www.reddit.com/r/programminghorror/comments/6abmcr/nodelist_lacks_foreach_in_internet_explorer/
|
|
if (typeof(NodeList.prototype.forEach)!==typeof(alert)){
|
|
NodeList.prototype.forEach=Array.prototype.forEach;
|
|
} |