Skip to content

Commit

Permalink
Fixed noscript variant of voucher redemption
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Feb 20, 2016
1 parent edba798 commit f86fe99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/static/pretixpresale/js/ui/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ $(function () {
$(".collapsed").removeClass("collapsed").addClass("collapse");

$("#voucher-box").hide();
$("#voucher-toggle").show();
$("#voucher-toggle a").click(function () {
$("#voucher-box").slideDown();
$("#voucher-toggle").slideUp();
Expand Down
3 changes: 3 additions & 0 deletions src/static/pretixpresale/less/event.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
display: block;
}
}
#voucher-toggle {
display: none;
}
.item-with-variations .product-row.headline, .product-row.simple {
border-top: 2px solid @table-border-color;
}
Expand Down

0 comments on commit f86fe99

Please sign in to comment.