mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00: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;
|
||
|
}
|