Skip to content

Commit

Permalink
Don't always run some scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Jun 10, 2011
1 parent 4a2df43 commit 74faa13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion public/javascripts/portfolio.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ image_added = function(image) {

$(document).ready(function() {
$('h1#body_content_page_title').addClass('clearfix');
reset_functionality();

if ($('#portfolio_images').sortable) {
reset_functionality();
}


$("ul#portfolio_images li.other a img").fadeTo(0, 0.3);

Expand Down

0 comments on commit 74faa13

Please sign in to comment.