mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
(javascript) New jquery release, substantially faster, smoother animation (especially in Firefox). Also, some fixes to animation speed and for Safari.
This commit is contained in:
Vendored
+598
-503
File diff suppressed because it is too large
Load Diff
Vendored
+11
-1
File diff suppressed because one or more lines are too long
@@ -59,13 +59,13 @@
|
||||
})
|
||||
})
|
||||
// Collapse all
|
||||
q("#top-links").append( " | " ).append( q("<a href='#'>collapse all</a>").click( function() {
|
||||
q("#top-links").append( "| " ).append( q("<a href='#'>collapse all</a>").click( function() {
|
||||
q( "div.historyItemBody:visible" ).each( function() {
|
||||
if ( q.browser.mozilla )
|
||||
{
|
||||
q(this).find( "pre.peek" ).css( "overflow", "hidden" );
|
||||
q(this).slideUp( "fast" );
|
||||
}
|
||||
q(this).slideUp( "fast" );
|
||||
})
|
||||
state.removeAll().save();
|
||||
}))
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
if ( body.is( ":hidden" ) ) {
|
||||
if ( last_expanded ) last_expanded.slideUp( "fast" );
|
||||
last_expanded = body;
|
||||
body.slideDown();
|
||||
body.slideDown( "fast" );
|
||||
}
|
||||
else {
|
||||
body.slideUp();
|
||||
body.slideUp( "fast" );
|
||||
last_expanded = null;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user