mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-27 23:40:03 +01:00
8 lines
221 B
JavaScript
8 lines
221 B
JavaScript
$(document).ready(function(){
|
|
$("#recipes font").click(function(){
|
|
window.location.href = "/recipe/"+$(this).data("id");
|
|
});
|
|
$("#new-recipe").click(function(){
|
|
window.location.href = "new-recipe";
|
|
});
|
|
});
|