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

17 lines
450 B
Smarty
Raw Normal View History

{{*
* AUTOMATICALLY GENERATED TEMPLATE
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
*
*}}
2013-01-11 18:00:10 +01:00
2012-12-22 20:57:29 +01: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>