From 678774cbd6ad70d9ea398a0cc18e31cb01caae30 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Mon, 26 Oct 2009 02:00:55 +0100 Subject: [PATCH] Minor changes to the Sizzle adapter. --- vendor/sizzle/selector_engine.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vendor/sizzle/selector_engine.js b/vendor/sizzle/selector_engine.js index 6980631..f460f33 100644 --- a/vendor/sizzle/selector_engine.js +++ b/vendor/sizzle/selector_engine.js @@ -3,8 +3,9 @@ Prototype._original_property = window.Sizzle; Prototype.Selector = (function(engine) { function extend(elements) { - for (var i = 0, length = elements.length; i < length; i++) - elements[i] = Element.extend(elements[i]); + for (var i = 0, length = elements.length; i < length; i++) { + Element.extend(elements[i]); + } return elements; }