Make Event.stopObserving return element in all cases. [#810 state:resolved]

This commit is contained in:
Tobie Langel 2009-10-22 17:45:26 +02:00
parent bf8e404805
commit af89847a4f
1 changed files with 1 additions and 1 deletions

View File

@ -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) {