mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-30 16:40:36 +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";
|
||
|
});
|
||
|
});
|