diff options
Diffstat (limited to 'railties/lib/rails/templates/rails/welcome/index.html.erb')
-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 |