mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-12-18 06:19:48 +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";
|
|
});
|
|
});
|