mirror of
https://github.com/friendica/friendica
synced 2024-12-28 02:02:18 +00:00
12 lines
332 B
Smarty
12 lines
332 B
Smarty
|
|
||
|
<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>
|