Skip to content

Commit a8613ef

Browse files
committed
Fixed incorrect documentation.
1 parent 43adb8b commit a8613ef

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
@@ -253,8 +253,7 @@
253253
* its ancestor chain. If `expression` is not given, the element which fired
254254
* the event is returned.
255255
*
256-
* *If no matching element is found, the document itself (`HTMLDocument` node)
257-
* is returned.*
256+
* *If no matching element is found, `undefined` is returned.*
258257
*
259258
* ##### Example
260259
*

0 commit comments

Comments
 (0)