Update script file
Include reset camera event
This commit is contained in:
1 parent
a22745a21c
commit
82812c6e67
1 file changed
+11
@@ -64,3 +64,14 @@ $(function() {
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
// reset camera
|
||||||
|
$('a#reset-cam').bind('click', function() {
|
||||||
|
$.getJSON('/reset_camera',
|
||||||
|
function(data) {
|
||||||
|
// do nothing
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
Reference in new issue
Block a user