'use strict';

console.log('hi');

document.getElementById('toggle-cards').addEventListener('change', function(e) {
  chrome.storage.sync.set({
    'hideEpicCards': e.target.checked
  });
});

@@ -12,24 +12,268 @@
 ';%0A%0A
-console.log('hi'
+document.addEventListener('DOMContentLoaded', function() %7B%0A  var hide_epics_checkbox = document.getElementById('toggle-cards');%0A  chrome.storage.sync.get(%7B hideEpicCards: true %7D, function(items) %7B%0A    hide_epics_checkbox.checked = items.hideEpicCards;%0A  %7D);%0A%0A%7D
 );%0A%0A

set checked status of hide epics checkbox based on storage