aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-01-03 22:57:14 -0800
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-01-03 22:57:14 -0800
commit3e35b6e1f07604c0f2f2be50823746972fd0113e (patch)
tree73067f13b9776767e14ae1532b3eccf1723fc79e /railties/lib/rails
parent7019858fcc51cadf491c5ff5ee9086bdab7223e9 (diff)
parent37e250fcf9362a4fdc83682b5a459810a8248468 (diff)
downloadrails-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/rails')
-rw-r--r--railties/lib/rails/templates/rails/welcome/index.html.erb3
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