Created by: thomastan
Before IE9, getElementsByTagName() returns a nodeList instead of an array as required by push.apply(array, array). This fixes the problem by converting the nodeList to an array.
Created by: thomastan
Before IE9, getElementsByTagName() returns a nodeList instead of an array as required by push.apply(array, array). This fixes the problem by converting the nodeList to an array.