Skip to content

Commit 08112b7

Browse files
Fix PDoc errors.
1 parent ecacc02 commit 08112b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prototype/dom/event.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
*
271271
* document.observe('click', function(event) {
272272
* var element = event.findElement('p');
273-
* if (element != document)
273+
* if (element)
274274
* $(element).hide();
275275
* });
276276
**/
@@ -1276,7 +1276,7 @@
12761276
stopObserving: stopObserving.methodize(),
12771277

12781278
/**
1279-
* Element.on(@element, eventName[, selector], callback) -> Event.Handler
1279+
* document.on(@element, eventName[, selector], callback) -> Event.Handler
12801280
*
12811281
* See [[Event.on]].
12821282
**/

0 commit comments

Comments
 (0)