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 CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('dynamic_menu', '0.2.0') do |p|
5
+ Echoe.new('dynamic_menu', '0.2.1') do |p|
6
6
  p.description = "Allow the creation of Menus"
7
7
  p.url = "http://es3inc.com"
8
8
  p.author = "Travis Pessettto"
data/dynamic_menu.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{dynamic_menu}
5
- s.version = "0.2.0"
5
+ s.version = "0.2.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [%q{Travis Pessettto}]
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
- $('form').keypress(function(e){
25
+ $('html').keypress(function(e){
26
26
  if(e.which == 13){
27
27
  $('form').submit();
28
28
  return false;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_menu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: