diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-18 10:48:23 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-18 10:48:23 +0200 |
commit | 24eb90c44c77efea8309e6196de0d2a26ad142df (patch) | |
tree | 65a9c3d7e422f54b191794fab91908bbdced86e7 /web/lib | |
parent | 29cab582a7049c9bc286db5a1f91992780a445a1 (diff) | |
download | taginfo-24eb90c44c77efea8309e6196de0d2a26ad142df.tar taginfo-24eb90c44c77efea8309e6196de0d2a26ad142df.tar.gz |
Set comparison list in cookie when /compare page is called.
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/ui/compare.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/ui/compare.rb b/web/lib/ui/compare.rb index 4c08741..f2c578f 100644 --- a/web/lib/ui/compare.rb +++ b/web/lib/ui/compare.rb @@ -66,6 +66,7 @@ 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 |