diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-01-03 22:57:14 -0800 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-01-03 22:57:14 -0800 |
commit | 3e35b6e1f07604c0f2f2be50823746972fd0113e (patch) | |
tree | 73067f13b9776767e14ae1532b3eccf1723fc79e /railties/lib | |
parent | 7019858fcc51cadf491c5ff5ee9086bdab7223e9 (diff) | |
parent | 37e250fcf9362a4fdc83682b5a459810a8248468 (diff) | |
download | rails-3e35b6e1f07604c0f2f2be50823746972fd0113e.tar.gz rails-3e35b6e1f07604c0f2f2be50823746972fd0113e.tar.bz2 rails-3e35b6e1f07604c0f2f2be50823746972fd0113e.zip |
Merge pull request #8736 from tricknotes/apply-var
Apply `var` keyword to js at welcome#index
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/templates/rails/welcome/index.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/templates/rails/welcome/index.html.erb b/railties/lib/rails/templates/rails/welcome/index.html.erb index 9a62d206dc..b102561848 100644 --- a/railties/lib/rails/templates/rails/welcome/index.html.erb +++ b/railties/lib/rails/templates/rails/welcome/index.html.erb @@ -173,7 +173,8 @@ </style> <script> function about() { - info = document.getElementById('about-content'); + var info = document.getElementById('about-content'); + var xhr; if (window.XMLHttpRequest) { xhr = new XMLHttpRequest(); } else |