Side navigation
#4906 closed bug (fixed)
Opened July 15, 2009 02:45PM UTC
Closed July 17, 2009 09:16PM UTC
Methods jQuery.fn.scrollLeft and jQuery.fn.scrollTop are slow for window
Reported by: | mdevils | Owned by: | brandon |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | offset | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If page is not scrolled, the expression will go through all the variants:
this[0] == window || this[0] == document ? self[ i ? 'pageYOffset' : 'pageXOffset' ] || jQuery.boxModel && document.documentElement[ method ] || document.body[ method ]) : this[0][ method ];
If window.pageYOffset or window.pageXOffset are defined, they should be returned for window.
Attachments (0)
Change History (1)
Changed July 17, 2009 09:16PM UTC by comment:1
priority: | major → minor |
---|---|
resolution: | → fixed |
status: | new → closed |
Thanks for catching this mdevils. :) Fixed in r6451