lib/rails-footnotes/notes/env_note.rb in lexrupy-rails-footnotes-3.3.2 vs lib/rails-footnotes/notes/env_note.rb in lexrupy-rails-footnotes-3.4

- old
+ new

@@ -7,10 +7,10 @@ @env = controller.request.env.dup end def content # Replace HTTP_COOKIE for a link - @env['HTTP_COOKIE'] = '<a href="#" style="color:#009" onclick="footnotes_toogle(\'cookies_debug_info\');return false;">See cookies on its tab</a>' + @env['HTTP_COOKIE'] = '<a href="#" style="color:#009" onclick="Footnotes.hideAllAndToggle(\'cookies_debug_info\');return false;">See cookies on its tab</a>' # Create the env table mount_table(@env.to_a.sort.unshift([:key, :value])) end end