diff --git a/patterns/item-icons.html b/patterns/item-icons.html index 90d8f6f..0e0dc18 100644 --- a/patterns/item-icons.html +++ b/patterns/item-icons.html @@ -14,10 +14,11 @@ iconTitle = $(this).find('div').attr('class').replace(/\-/g, ' '), iconClass = $(this).find('div').attr('class'), iconShort = $(this).find('div').attr('data-short'); - + console.log(this); $('#pattern-item-icons #icon-show').css({ 'background-position' : $(this).find('div').css('backgroundPosition') - }) + }); + console.log($(this).find('div').css('backgroundPosition')); $('#pattern-item-icons #icon-title').text( iconTitle ); $('#pattern-item-icons #icon-class').text( iconClass ); $('#pattern-item-icons #icon-short').text( iconShort ); @@ -210,14 +211,17 @@