Skip to content

Commit

Permalink
Clear the parentButton href when there's no parent.
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Dec 10, 2011
1 parent f3f1688 commit 3640206
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/assets/js/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ function load_code(hash) {
set_parent_button('visible');
} else {
original_version='';
parentButton.href = '/';
set_parent_button('hidden');
}

Expand Down

0 comments on commit 3640206

Please sign in to comment.