diff --git a/data/interfaces/default/artist.html b/data/interfaces/default/artist.html
index be2bbb51..d57233d1 100644
--- a/data/interfaces/default/artist.html
+++ b/data/interfaces/default/artist.html
@@ -194,6 +194,19 @@
});
calendarDomNode.append('
');
+
+ $(function() {
+ $("#artistCalendar").each(function() {
+ $("li:gt(4)", this).hide(); /* :gt() is zero-indexed */
+ $("li:nth-child(5)", this).after("
More..."); /* :nth-child() is one-indexed */
+ });
+ $("li.more a").live("click", function() {
+ var li = $(this).parents("li:first");
+ li.parent().children().show();
+ li.remove();
+ return false;
+ });
+ });
}
// data is JSON response object