diff --git a/assets/js/cmd.coffee b/assets/js/cmd.coffee new file mode 100644 index 0000000..0b0174a --- /dev/null +++ b/assets/js/cmd.coffee @@ -0,0 +1,3 @@ +$(document).ready -> + $('#select-command').bind 'change', -> + $('.command').text $(this).val() diff --git a/assets/js/cmd.min.js b/assets/js/cmd.min.js new file mode 100644 index 0000000..6a05133 --- /dev/null +++ b/assets/js/cmd.min.js @@ -0,0 +1 @@ +(function(){$(document).ready(function(){return $("#select-command").bind("change",function(){return $(".command").text($(this).val())})})}).call(this); \ No newline at end of file diff --git a/index.html b/index.html index c2179fb..848047c 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@