From d1eba76ed8dc442db9392f1a409a96c21bb47b65 Mon Sep 17 00:00:00 2001 From: Dillon Niederhut Date: Fri, 3 Jun 2016 15:36:21 -0700 Subject: [PATCH] removing bio from speaker view --- js/app.js | 13 ------------- js/config.js | 1 - site/search_database.html | 10 ---------- 3 files changed, 24 deletions(-) diff --git a/js/app.js b/js/app.js index 0fba75bf..76d7ed31 100644 --- a/js/app.js +++ b/js/app.js @@ -106,11 +106,6 @@ $(document).ready(function(){ e.stopPropagation(); }); - $("body").on("click",".event-popup-wrapper .expand a",function(e){ - $(this).closest(".speaker-description").removeClass("long"); - return false; - }); - $(window).on("keydown",function(e){ if(e.keyCode == 37) { navigatePopup("previous"); @@ -258,14 +253,6 @@ function showPop(id){ valueEl.html(valueEl.html() + append + " "); } - if(j == "speaker-description"){ - var descriptionHeight = valueEl.parent().height(); - if(descriptionHeight > 150) { - valueEl.parent().addClass("long"); - } else { - valueEl.parent().removeClass("long"); - } - } } } } diff --git a/js/config.js b/js/config.js index 2471a55e..9f71a140 100644 --- a/js/config.js +++ b/js/config.js @@ -15,7 +15,6 @@ var dataKeys = { "Country" : "speaker-country", // Shown in main listing "Event Location" : "event-location", "Number of Lectures" : "n-lectures", // Shown in main listing - "Description" : "speaker-description", "Cover Photo" : "speaker-photo", "Subspecialty" : "event-creations", "Specialty" : "speaker-specialty", diff --git a/site/search_database.html b/site/search_database.html index c68905be..02a7f627 100644 --- a/site/search_database.html +++ b/site/search_database.html @@ -112,16 +112,6 @@

-

Bio

-
- - -
-