diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-06 21:36:36 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-06 21:43:48 +0100 |
commit | d0998e64dcc402773b256907bc382e858368db90 (patch) | |
tree | 5d9c365748a1fac68608cfffee40b07c709b8c9f /web/viewsjs/taginfo | |
parent | d11bbdbaba1a7b8d0bd0845cdef7950f38dd3fd9 (diff) | |
download | taginfo-d0998e64dcc402773b256907bc382e858368db90.tar taginfo-d0998e64dcc402773b256907bc382e858368db90.tar.gz |
Javascript related cleanup
Diffstat (limited to 'web/viewsjs/taginfo')
-rw-r--r-- | web/viewsjs/taginfo/i18n.js.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web/viewsjs/taginfo/i18n.js.erb b/web/viewsjs/taginfo/i18n.js.erb new file mode 100644 index 0000000..38200ae --- /dev/null +++ b/web/viewsjs/taginfo/i18n.js.erb @@ -0,0 +1,6 @@ +function page_init() { + jQuery('span[title]').tipsy({ opacity: 1, delayIn: 500, gravity: 'w' }); + jQuery('#lang').bind('change', function() { + jQuery('form').submit(); + }); +} |