aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn/static/dawn.js
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn/static/dawn.js')
-rw-r--r--python/Dawn/static/dawn.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/Dawn/static/dawn.js b/python/Dawn/static/dawn.js
index 95f371d4..1c589afd 100644
--- a/python/Dawn/static/dawn.js
+++ b/python/Dawn/static/dawn.js
@@ -25,8 +25,8 @@ $(function() {
$('#maturity').val(data['maturity']);
});
});
- $('#swap_type').change(function(){
- switch $(this).val() {
+ $('#swap_type').change(function() {
+ switch ($(this).val()) {
case 'CD_INDEX_TRANCHE':
$('#attach').parent().parent().css('display','block');
$('#detach').parent().parent().css('display','block');