public
Description: A quick & dirty git-powered Sinatra wiki
Homepage: http://atonie.org/2008/02/git-wiki
Clone URL: git://github.com/sr/git-wiki.git
Fix homepage (ctrl+h) hotkey
sr (author)
Tue May 06 08:56:18 -0700 2008
commit  ac3e67ae29d492f59eb537801da13f7ddd01207e
tree    351cc96d3ee2d930de2e0f979a00558057a73fb6
parent  8c44db17dcfc55b20c06b12e0db600038d59b383
...
148
149
150
151
 
152
153
154
...
148
149
150
 
151
152
153
154
0
@@ -148,7 +148,7 @@ __END__
0
       $(document).ready(function() {
0
         $('#navigation').hide();
0
         $('#edit_link').hide();
0
- $.hotkeys.add('Ctrl+h', function() { document.location = '#{HOMEPAGE}' })
0
+ $.hotkeys.add('Ctrl+h', function() { document.location = '/#{HOMEPAGE}' })
0
         $.hotkeys.add('Ctrl+l', function() { document.location = '/_list' })
0
       })
0
   %body

Comments

    No one has commented yet.