From a661859eb9d3d51ea8e4cfb16897f7c8289cbe2a Mon Sep 17 00:00:00 2001 From: Christoph Pojer Date: Mon, 30 Aug 2010 19:45:23 +0200 Subject: [PATCH] * Scroll and resize events provide an Event object --- Source/Element/Element.Event.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Element/Element.Event.js b/Source/Element/Element.Event.js index 69ac7f25..72151b6f 100644 --- a/Source/Element/Element.Event.js +++ b/Source/Element/Element.Event.js @@ -132,8 +132,8 @@ Element.NativeEvents = { touchstart: 2, touchmove: 2, touchend: 2, touchcancel: 2, // touch gesturestart: 2, gesturechange: 2, gestureend: 2, // gesture focus: 2, blur: 2, change: 2, reset: 2, select: 2, submit: 2, //form elements - load: 2, unload: 1, beforeunload: 2, resize: 1, move: 1, DOMContentLoaded: 1, readystatechange: 1, //window - error: 1, abort: 1, scroll: 1 //misc + load: 2, unload: 1, beforeunload: 2, resize: 2, move: 1, DOMContentLoaded: 1, readystatechange: 1, //window + error: 1, abort: 1, scroll: 2 //misc }; var check = function(event){ -- 2.11.4.GIT