Skip to content
Permalink
Browse files
Removed another log statement; fixed add(Array) for IE (IE reports fo…
…rm.elements.nodeName == "FORM")
  • Loading branch information
jzaefferer committed Jan 23, 2007
1 parent 926e80b commit 9f93c7b3b858c4491e1d2aa7a680b9b1dd29b17c
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/event/eventTest.js
  2. +1 −1 src/jquery/jquery.js
@@ -4,7 +4,7 @@ test("toggle(Function, Function) - add toggle event and fake a few clicks", func
expect(1);
var count = 0,
fn1 = function(e) { count++; },
fn2 = function(e) { count--; console.debug("fn"); },
fn2 = function(e) { count--; },
preventDefault = function(e) { e.preventDefault() },
link = $('#mark');
if($.browser.msie)
@@ -986,7 +986,7 @@ jQuery.fn = jQuery.prototype = {
this.get(),
t.constructor == String ?
jQuery(t).get() :
t.length != undefined && !t.nodeName ?
t.length != undefined && (!t.nodeName || t.nodeName == "FORM") ?
t : [t] )
);
},

0 comments on commit 9f93c7b

Please sign in to comment.