# HG changeset patch # User Bob Farrell # Date 1311974403 -3600 # Branch single-column-redesign-1 # Node ID c1af13affee86b6b8cc674e1db14c36be1cdbfad # Parent 89831cf2ab231963d00775ce6a33e5faa2797fa8 return false on 'show more/less' click diff -r 89831cf2ab231963d00775ce6a33e5faa2797fa8 -r c1af13affee86b6b8cc674e1db14c36be1cdbfad soundbush/public/js/main.js --- a/soundbush/public/js/main.js Fri Jul 29 22:00:11 2011 +0100 +++ b/soundbush/public/js/main.js Fri Jul 29 22:20:03 2011 +0100 @@ -308,13 +308,16 @@ function () { $("#artist-description").css("height", "auto"); $(this).text("Show less"); + return false; }, function () { $("#artist-description").css("height", "100px"); $(this).text("Show more"); + return false; }); $("#contact-submit").button(); + $("#contact-artist").click(function () { $("#contact-dialog").dialog({ resizable: false,