minor change

This commit is contained in:
rolux 2012-05-25 19:07:40 +02:00
parent d14abf96fc
commit fa1b2346ef

View file

@ -610,7 +610,7 @@ Ox.toArray = function(collection) {
return Ox.slice(collection); return Ox.slice(collection);
}; };
try { try {
Array.prototype.slice.call(document.getElementsByTagName('head')); Array.prototype.slice.call(document.getElementsByTagName('a'));
} catch (error) { } catch (error) {
// Handle MSIE NodeLists // Handle MSIE NodeLists
Ox.toArray = function(collection) { Ox.toArray = function(collection) {