Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Animate the transition to display overflowed values

  • Loading branch information...
commit 6beb2ec67cc02ddbaf54da60c5d13f7113954116 1 parent 72446d5
@rictic rictic authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  utility.js
View
2  utility.js
@@ -128,7 +128,7 @@ function displayValue(value) {
var overflowContainer = node("div", {"class":"overflowContainer"}).appendTo(result);
for (var i = overflowCutoff; i < displayValues.length; i++)
overflowContainer.append(displayValues[i]).append("<br>");
- var showMoreLink = node("a","More &darr;",{"class":"expandOverflow",onclick:function(){overflowContainer.show();showMoreLink.hide();}}).appendTo(result);
+ var showMoreLink = node("a","More &darr;",{"class":"expandOverflow",onclick:function(){showMoreLink.slideUp();overflowContainer.slideDown();}}).appendTo(result);
}
else
for (var i = 0; i < value.length; i++)
Please sign in to comment.
Something went wrong with that request. Please try again.