Skip to content

Commit

Permalink
fixed other license dropdown again
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Apr 14, 2016
1 parent 85a66c4 commit 54ed26e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/create.html
Expand Up @@ -52,6 +52,13 @@
});
});

var licsel = $("#mod-license option:selected").html();
if(licsel == "Other"){
$("#mod-other-license").removeClass("hidden").show();

}else{
$("#mod-other-license").addClass("hidden").hide();
}
$("#mod-license").chosen().change(function(evt,par) {
if(par.selected == "Other"){
$("#mod-other-license").removeClass("hidden").show();
Expand Down

0 comments on commit 54ed26e

Please sign in to comment.