Fixed incorrect documentation for Event#findElement. #44

Merged
merged 1 commit into from Aug 27, 2012
+1 −2
View
3 src/prototype/dom/event.js
@@ -253,8 +253,7 @@
* its ancestor chain. If `expression` is not given, the element which fired
* the event is returned.
*
- * *If no matching element is found, the document itself (`HTMLDocument` node)
- * is returned.*
+ * *If no matching element is found, `undefined` is returned.*
*
* ##### Example
*