dynamic_menu 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/dynamic_menu.gemspec +1 -1
- data/lib/dynamic_menu.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
data/dynamic_menu.gemspec
CHANGED
data/lib/dynamic_menu.rb
CHANGED
@@ -22,7 +22,7 @@ module DynamicMenu
|
|
22
22
|
@link_tag = link_to_function name, "$('form').submit()"
|
23
23
|
@link_tag += "<script type=\"text/javascript\">
|
24
24
|
$(document).ready(function(){
|
25
|
-
$('
|
25
|
+
$('html').keypress(function(e){
|
26
26
|
if(e.which == 13){
|
27
27
|
$('form').submit();
|
28
28
|
return false;
|