jQuery : updated "not" elements param to be an array (was incorrectly using a spread operator)

This commit is contained in:
Jan Bevers
2015-10-12 13:58:51 +02:00
parent 27e98c87a8
commit 05b17e447e
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -3217,6 +3217,10 @@ function test_not() {
$("p").not("#selected");
$("p").not($("div p.selected"));
var el1 = $("<div/>")[0];
var el2 = $("<div/>")[0];
$("p").not([el1, el2]);
}
function test_EventIsNewable() {