Skip to content

Conversation

@saiwong
Copy link

@saiwong saiwong commented Oct 15, 2012

The need for window.event does not seem to be present for the current
set of support browser/platforms. Use of event || window.event syntax
seems only relevant when attaching event listeners via the following
syntax:

document.body.onclick = function(event){
  var e = event || window.event; // event is null in the case of IE6
  ...
}

The need for `window.event` does not seem to be present for the current
set of support browser/platforms. Use of `event || window.event` syntax
seems only relevant when attaching event listeners via the following
syntax:

    document.body.onclick = function(event){
      var e = event || window.event; // event is null in the case of IE6
      ...
    }
@dmethvin
Copy link
Member

/botio test

@dmethvin dmethvin closed this in 5228f0a Oct 20, 2012
mescoda pushed a commit to mescoda/jquery that referenced this pull request Nov 4, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants