4 $(".annoy-banner-on").each(function() {
6 var tag = 'annoyed' + $on.attr('data-target');
7 var $target = $($on.attr('data-target'));
8 var $off = $('.annoy-banner-off', $target);
10 $on.click(function(e) {
12 $target.slideDown('fast');
14 if (Modernizr.localstorage) localStorage.removeItem(tag);
17 $off.click(function() {
18 $target.slideUp('fast');
20 if (Modernizr.localstorage) localStorage[tag] = true;
23 if (Modernizr.localstorage) {
24 if (!localStorage[tag]) {