mirror of
https://github.com/friendica/friendica
synced 2024-12-24 02:00:15 +00:00
17 lines
450 B
Smarty
17 lines
450 B
Smarty
|
{{*
|
||
|
* AUTOMATICALLY GENERATED TEMPLATE
|
||
|
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||
|
*
|
||
|
*}}
|
||
|
|
||
|
<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>
|