diff --git a/static/script.js b/static/script.js index 3606b48..0c5a7ca 100644 --- a/static/script.js +++ b/static/script.js @@ -64,3 +64,14 @@ $(function() { return false; }); }); + +$(function() { + // reset camera + $('a#reset-cam').bind('click', function() { + $.getJSON('/reset_camera', + function(data) { + // do nothing + }); + return false; + }); +});