]> git.mxchange.org Git - friendica.git/blob - view/smarty3/photo_edit_head.tpl
Merge pull request #579 from 23n/patch-4
[friendica.git] / view / smarty3 / photo_edit_head.tpl
1
2 <script>
3
4         $(document).keydown(function(event) {
5
6                 if("{{$prevlink}}" != '') { if(event.ctrlKey && event.keyCode == 37) { event.preventDefault(); window.location.href = "{{$prevlink}}"; }}
7                 if("{{$nextlink}}" != '') { if(event.ctrlKey && event.keyCode == 39) { event.preventDefault(); window.location.href = "{{$nextlink}}"; }}
8
9         });
10
11 </script>