Update script file
Include reset camera event
This commit is contained in:
@ -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