Add command switcher

This commit is contained in:
Martin Polden
2012-11-25 21:13:06 +01:00
parent 3d9a8001f1
commit e7c3e3dfd6
3 changed files with 15 additions and 4 deletions

3
assets/js/cmd.coffee Normal file
View File

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

1
assets/js/cmd.min.js vendored Normal file
View File

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