]> git.mxchange.org Git - friendica.git/blob - view/smarty3/photo_edit_head.tpl
add warning message about automatically generated templates
[friendica.git] / view / smarty3 / photo_edit_head.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <script>
7
8         $(document).keydown(function(event) {
9
10                 if("{{$prevlink}}" != '') { if(event.ctrlKey && event.keyCode == 37) { event.preventDefault(); window.location.href = "{{$prevlink}}"; }}
11                 if("{{$nextlink}}" != '') { if(event.ctrlKey && event.keyCode == 39) { event.preventDefault(); window.location.href = "{{$nextlink}}"; }}
12
13         });
14
15 </script>