aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib')
-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