Skip to content

Instantly share code, notes, and snippets.

@naydichev
naydichev / oscon.com.js
Created July 18, 2012 18:50 — forked from justone/oscon.com.js
dotjs for hacking the OSCON 2012 schedule
var highlighting_chosen_sessions = false;
var hidden = false;
function highlight_chosen_sessions() {
// look for all hightlighted icons and update the session div to have a border
$('img[src="/images/personal-schedule-icon2.png"]').each(function(index, icon) {
$(icon)
.closest('.session')
.not('.highlighted')
.addClass('highlighted')