From 5b06d086291f39198988268a78f9a77bad7973af Mon Sep 17 00:00:00 2001 From: Keyamoon Date: Wed, 19 Dec 2012 23:31:06 +0330 Subject: [PATCH] Fix next() in jqLite --- src/jqLite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jqLite.js b/src/jqLite.js index 8305f0c30f2c..de3471262d42 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -718,7 +718,7 @@ forEach({ }, next: function(element) { - return element.nextSibling; + return element.nextElementSibling; }, find: function(element, selector) {