From: Aaron Lidman Date: Wed, 6 Nov 2013 01:16:28 +0000 (-0800) Subject: Commented out background images from about page X-Git-Tag: live~4674^2~189 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0f6ee7407c173fa21075a68b8b99d520ace43225 Commented out background images from about page --- diff --git a/app/assets/javascripts/about.js b/app/assets/javascripts/about.js index cfd5f28d9..6747dce42 100644 --- a/app/assets/javascripts/about.js +++ b/app/assets/javascripts/about.js @@ -7,9 +7,9 @@ if (!isNaN(parseInt(h[1], 10))) num = h[1]; } - $(document).ready(function () { - $('#content').attr('class', 'photo-' + num); - }); + // $(document).ready(function () { + // $('#content').attr('class', 'photo-' + num); + // }); $(document).on('click', '#next-photo', function () { num = (num + 1) % 6; diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index fe4217d8b..c43870f4d 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -2445,7 +2445,8 @@ a.button { } .site-about #content { - background-color: #000; + //background-color: #000; + background-color: #ccc; background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; diff --git a/app/views/site/about.html.erb b/app/views/site/about.html.erb index 066df724c..a142cc007 100644 --- a/app/views/site/about.html.erb +++ b/app/views/site/about.html.erb @@ -36,4 +36,4 @@ <% end %> - +