[wp-trac] [WordPress Trac] #18758: Click empty admin bar to scroll to top

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 5 05:48:11 UTC 2012


#18758: Click empty admin bar to scroll to top
---------------------------------+-----------------------
 Reporter:  TJNowell             |       Owner:  ericmann
     Type:  task (blessed)       |      Status:  assigned
 Priority:  normal               |   Milestone:  3.4
Component:  Toolbar              |     Version:  3.3
 Severity:  normal               |  Resolution:
 Keywords:  3.4-early has-patch  |
---------------------------------+-----------------------

Comment (by ericmann):

 With IE7, the problem seems to be with `e.srcElement`.  In both IE7 and 8,
 `e.target` is undefined, so `e.srcElement` is passed to the function
 instead.  Unfortunately, it's passing the wrong target ID to IE7 ("wp-
 admin-bar-top-secondary") so it fails the initial conditional check.

 In IE8, it seems that `startY` is evaluating to 0 no matter what the
 scroll position seems to be.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18758#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list