diff --git a/assets/js/cmd.coffee b/assets/js/cmd.coffee index 0b0174a..1e44b46 100644 --- a/assets/js/cmd.coffee +++ b/assets/js/cmd.coffee @@ -1,3 +1,3 @@ $(document).ready -> - $('#select-command').bind 'change', -> + $('#select-command').on 'change', -> $('.command').text $(this).val() diff --git a/assets/js/cmd.min.js b/assets/js/cmd.min.js index 6a05133..6fbda24 100644 --- a/assets/js/cmd.min.js +++ b/assets/js/cmd.min.js @@ -1 +1 @@ -(function(){$(document).ready(function(){return $("#select-command").bind("change",function(){return $(".command").text($(this).val())})})}).call(this); \ No newline at end of file +(function(){$(document).ready(function(){return $("#select-command").on("change",function(){return $(".command").text($(this).val())})})}).call(this); \ No newline at end of file