friendica_2021.01_tupambae_.../view/templates/photo_edit_head.tpl

13 lines
349 B
Smarty
Raw Normal View History

2013-04-23 13:47:57 +02:00
<script>
$(document).keydown(function(event) {
if("{{$prevlink}}" != '') { if(event.ctrlKey && event.keyCode == 37) { event.preventDefault(); window.location.href = "{{$prevlink}}"; }}
if("{{$nextlink}}" != '') { if(event.ctrlKey && event.keyCode == 39) { event.preventDefault(); window.location.href = "{{$nextlink}}"; }}
});
</script>