Don't use deprecated function

This commit is contained in:
Martin Polden 2012-11-25 21:21:37 +01:00
parent fecf0b90d8
commit ad0992ee24
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
$(document).ready ->
$('#select-command').bind 'change', ->
$('#select-command').on 'change', ->
$('.command').text $(this).val()

View File

@ -1 +1 @@
(function(){$(document).ready(function(){return $("#select-command").bind("change",function(){return $(".command").text($(this).val())})})}).call(this);
(function(){$(document).ready(function(){return $("#select-command").on("change",function(){return $(".command").text($(this).val())})})}).call(this);