Skip to content

Commit

Permalink
removing bio from speaker view
Browse files Browse the repository at this point in the history
  • Loading branch information
deniederhut committed Jun 3, 2016
1 parent 3122106 commit d1eba76
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
13 changes: 0 additions & 13 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
}
}
}
}
}
Expand Down
1 change: 0 additions & 1 deletion js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 0 additions & 10 deletions site/search_database.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,6 @@ <h1>
</h1>

<div class="left-col">
<h2 id="description">Bio</h2>
<div heading="description" class="speaker-description">
<span class="value"></span>
<div class='expand'>
<a href="#">
Read More <i class="fa fa-angle-down"></i>
</a>
</div>
</div>

<h2 id="speaker-links-lectures">Previous talks</h2>
<p class="speaker-links-lectures" heading="speaker-links-lectures">
<span class="value"></span>
Expand Down

0 comments on commit d1eba76

Please sign in to comment.