Skip to content

Commit

Permalink
JS cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Nummi committed Feb 6, 2012
1 parent 841f646 commit b2e083a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/UI.js
Expand Up @@ -84,9 +84,9 @@ $(function() {

// Lab Index
$('#index li').each(function(i, item){
var item = $(item);
console.log('LAB ID: ' + item.attr('data-lab-id'));
if(readCookie(item.attr('data-lab-id'))) { item.addClass('bookmark'); }
var item = $(item);
var labID = item.attr('data-lab-id');
if(readCookie(labID)) { item.addClass('bookmark'); }
});

$('#table_of_contents_link').on('click', function(e) {
Expand Down

0 comments on commit b2e083a

Please sign in to comment.