[wp-trac] [WordPress Trac] #18758: Click empty admin bar to scroll to top
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 5 17:04:50 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):
Replying to [comment:22 azaozz]:
> Yes, there are other browser differences too. Perhaps best would be to
load jQuery on the front end when the toolbar is shown. Can namespace it
completely with `wpjq = jQuery.noConflict(true);` or similar so it doesn't
conflict with another jQuery version.
I think loading jQuery on the front end, just to scroll the page when you
click on the admin bar, is a bit overkill. If it's already loaded by the
theme, we use it. If not, we should have a reliable, browser-agnostic
fallback. The new patch I've posted should handle that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18758#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list