Permalink
Browse files

Merge branch 'develop' of git://github.com/jbuck/processing-js

  • Loading branch information...
2 parents c8db742 + 0da1460 commit 1e7636d37d13b0c0e86ccc1d0f44d222948fb5ca @Pomax Pomax committed Dec 1, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 processing.js
View
@@ -17286,11 +17286,6 @@
// Keyboard Events
//////////////////////////////////////////////////////////////////////////
- // Get the DOM element if string was passed
- if (typeof curElement === "string") {
- curElement = document.getElementById(curElement);
- }
-
// In order to catch key events in a canvas, it needs to be "specially focusable",
// by assigning it a tabindex. If no tabindex is specified on-page, set this to 0.
if (!curElement.getAttribute("tabindex")) {

0 comments on commit 1e7636d

Please sign in to comment.