From 641284a233b0982f40830d9a572151b67e7b198d Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Sat, 22 Aug 2009 05:30:56 +0200 Subject: [PATCH] doc: fix documentation of Event and Event#element. --- src/dom/event.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dom/event.js b/src/dom/event.js index 14d8367..bd47f6f 100644 --- a/src/dom/event.js +++ b/src/dom/event.js @@ -1,7 +1,7 @@ (function() { /** section: DOM - * Event + * class Event * * The namespace for Prototype's event system. * @@ -109,10 +109,11 @@ **/ function isRightClick(event) { return _isButton(event, 2) } - /** + /** deprecated * Event.element(@event) -> Element * - * Returns the DOM element on which the event occurred. + * Returns the DOM element on which the event occurred. This method + * is deprecated, use [[Event.findElement findElement]] instead. **/ function element(event) { event = Event.extend(event);