Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions js/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ var HTMLschoolDates = "<div class='date-text'>%data%</div>";
var HTMLschoolLocation = "<div class='location-text'>%data%</div>";
var HTMLschoolMajor = "<em><br>Major: %data%</em>"

var HTMLonlineClasses = "<h3>Online Classes</h3>";
// added this to give online classes its own div; otherwise it uses the education div as its left alignment (doubles left padding)
var HTMLonlineClassesStart = "<div class='education-entry'></div>";

// added a line break before online classes header to make it easier to read
var HTMLonlineClasses = "<br><h3>Online Classes</h3>";
var HTMLonlineTitle = "<a href='#'>%data%";
var HTMLonlineSchool = " - %data%</a>";
var HTMLonlineDates = "<div class='date-text'>%data%</div>";
Expand Down Expand Up @@ -163,4 +167,4 @@ window.addEventListener('load', initializeMap); // calls the initialize map
window.addEventListener('resize', function(e) {
// Make sure the map bounds get updated on page resize
map.fitBounds(mapBounds);
});
});