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