From 2a42335d0d757a12627def6f2200486338ec7ded Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 18 May 2014 17:44:30 +0200 Subject: Add keyboard shortcut for comparison page. --- web/lib/ui/compare.rb | 1 - web/lib/ui/keys.rb | 2 +- web/lib/ui/tags.rb | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'web/lib/ui') diff --git a/web/lib/ui/compare.rb b/web/lib/ui/compare.rb index f2c578f..4c08741 100644 --- a/web/lib/ui/compare.rb +++ b/web/lib/ui/compare.rb @@ -66,7 +66,6 @@ class Taginfo < Sinatra::Base @img_width = TaginfoConfig.get('geodistribution.width') @img_height = TaginfoConfig.get('geodistribution.height') - javascript_for(:cookie) javascript "#{ r18n.locale.code }/compare" erb :compare end diff --git a/web/lib/ui/keys.rb b/web/lib/ui/keys.rb index 6f3e0d0..1d6747b 100644 --- a/web/lib/ui/keys.rb +++ b/web/lib/ui/keys.rb @@ -52,7 +52,7 @@ class Taginfo < Sinatra::Base @img_width = TaginfoConfig.get('geodistribution.width') * TaginfoConfig.get('geodistribution.scale_image') @img_height = TaginfoConfig.get('geodistribution.height') * TaginfoConfig.get('geodistribution.scale_image') - javascript_for(:flexigrid, :cookie, :d3) + javascript_for(:flexigrid, :d3) javascript "#{ r18n.locale.code }/key" erb :key end diff --git a/web/lib/ui/tags.rb b/web/lib/ui/tags.rb index 6fcc995..4632f1d 100644 --- a/web/lib/ui/tags.rb +++ b/web/lib/ui/tags.rb @@ -60,7 +60,7 @@ class Taginfo < Sinatra::Base @img_width = TaginfoConfig.get('geodistribution.width') * TaginfoConfig.get('geodistribution.scale_image') @img_height = TaginfoConfig.get('geodistribution.height') * TaginfoConfig.get('geodistribution.scale_image') - javascript_for(:flexigrid, :cookie) + javascript_for(:flexigrid) javascript "#{ r18n.locale.code }/tag" erb :tag end -- cgit v1.2.3