~pepe/neil

8c019ce53ccebabb82e34e68def7b7e7258a6c0e — Josef Pospíšil 1 year, 3 months ago 2cbdcd3
Add shortcuts for anchors
1 files changed, 6 insertions(+), 0 deletions(-)

M templates/app.temple
M templates/app.temple => templates/app.temple +6 -0
@@ 70,6 70,12 @@ $}
              else if ek is 'd' go to url '/'
              else if ek is 'C' go to url '{{ (resolve :clients) }}'
              else if ek is 'i' go to url '{{ (resolve :stats) }}'
              else if ek is 'l' 
                set ma to first of <#tasks .list a:first-child/>
                call ma.focus()
              else if ek is 'r' 
                set ma to first of <#recent-projects a:first-child/>
                call ma.focus()
            end
        end
      </script>