Ticket #892 (closed defect: invalid)
Fx.Scroll fails with window as element
| Reported by: | Skreo | Owned by: | |
|---|---|---|---|
| Type: | defect | Priority: | minor |
| Milestone: | Mootools version 1.2 | Component: | Plugins |
| Keywords: | fx, scroll | Cc: |
Description
For Example :
new Fx.Scroll(window, {transition: Fx.Transitions.Sine.easeInOut, duration: 200});
It works without this line :
if ($type(this.element) != 'element') this.element = $(this.element.getDocument().body);
Change History
Note: See
TracTickets for help on using
tickets.