From 9c52eea162b7a6537adc784b4e9f3f1968fffe58 Mon Sep 17 00:00:00 2001 From: Daniel Weigh Date: Sun, 16 Feb 2014 20:28:26 -0500 Subject: [PATCH] * cleanup and a comment to revisit --- web/app/assets/javascripts/findMusician.js | 2 ++ web/app/assets/javascripts/profile.js | 12 ++++++------ web/app/assets/stylesheets/web/welcome.css.scss | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/web/app/assets/javascripts/findMusician.js b/web/app/assets/javascripts/findMusician.js index 9266cb13b..b02074fc5 100644 --- a/web/app/assets/javascripts/findMusician.js +++ b/web/app/assets/javascripts/findMusician.js @@ -62,6 +62,8 @@ var $noMusiciansFound = $('#musicians-none-found'); musicianList = mList; + + // @FIXME: This needs to pivot on musicianList.musicians.length if(musicianList.length == 0) { $noMusiciansFound.show(); musicians = []; diff --git a/web/app/assets/javascripts/profile.js b/web/app/assets/javascripts/profile.js index b4d011775..d4e5ec5b3 100644 --- a/web/app/assets/javascripts/profile.js +++ b/web/app/assets/javascripts/profile.js @@ -45,7 +45,7 @@ $('#profile-favorites').hide(); $('.profile-nav a.active').removeClass('active'); - $('.profile-nav a.#profile-about-link').addClass('active'); + $('.profile-nav a#profile-about-link').addClass('active'); } function initUser() { @@ -294,7 +294,7 @@ $('#profile-favorites').hide(); $('.profile-nav a.active').removeClass('active'); - $('.profile-nav a.#profile-about-link').addClass('active'); + $('.profile-nav a#profile-about-link').addClass('active'); bindAbout(); } @@ -368,7 +368,7 @@ $('#profile-favorites').hide(); $('.profile-nav a.active').removeClass('active'); - $('.profile-nav a.#profile-social-link').addClass('active'); + $('.profile-nav a#profile-social-link').addClass('active'); bindSocial(); } @@ -442,7 +442,7 @@ $('#profile-favorites').hide(); $('.profile-nav a.active').removeClass('active'); - $('.profile-nav a.#profile-history-link').addClass('active'); + $('.profile-nav a#profile-history-link').addClass('active'); bindHistory(); } @@ -462,7 +462,7 @@ $('#profile-favorites').hide(); $('.profile-nav a.active').removeClass('active'); - $('.profile-nav a.#profile-bands-link').addClass('active'); + $('.profile-nav a#profile-bands-link').addClass('active'); bindBands(); } @@ -620,7 +620,7 @@ $('#profile-favorites').show(); $('.profile-nav a.active').removeClass('active'); - $('.profile-nav a.#profile-favorites-link').addClass('active'); + $('.profile-nav a#profile-favorites-link').addClass('active'); bindFavorites(); } diff --git a/web/app/assets/stylesheets/web/welcome.css.scss b/web/app/assets/stylesheets/web/welcome.css.scss index 75a2cbeee..b9be20aac 100644 --- a/web/app/assets/stylesheets/web/welcome.css.scss +++ b/web/app/assets/stylesheets/web/welcome.css.scss @@ -110,6 +110,7 @@ Version: 1.1 padding :0; margin :0; border :none; + background: #353535; } .carousel .slides .slideItem a