From af89847a4ff73715058fc453a20eae5358c3470b Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Thu, 22 Oct 2009 17:45:26 +0200 Subject: [PATCH] Make Event.stopObserving return element in all cases. [#810 state:resolved] --- src/dom/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/event.js b/src/dom/event.js index 0f35d65..0d86e11 100644 --- a/src/dom/event.js +++ b/src/dom/event.js @@ -617,7 +617,7 @@ function stopObserving(element, eventName, handler) { element = $(element); - var registry = Element.retrieve(element, 'prototype_event_registry') + var registry = Element.retrieve(element, 'prototype_event_registry'); if (!registry) return element; if (!eventName) {