Skip to content

Commit e93010f

Browse files
Merge pull request prototypejs#44 from leafo/patch-1
Fix incorrect documentation for `Event#findElement`.
2 parents 5317239 + a8613ef commit e93010f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/prototype/dom/event.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,7 @@
260260
* its ancestor chain. If `expression` is not given, the element which fired
261261
* the event is returned.
262262
*
263-
* *If no matching element is found, the document itself (`HTMLDocument` node)
264-
* is returned.*
263+
* *If no matching element is found, `undefined` is returned.*
265264
*
266265
* ##### Example
267266
*

0 commit comments

Comments
 (0)