mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-27 15:40:00 +01:00
9 lines
221 B
JavaScript
9 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";
|
||
|
});
|
||
|
});
|