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 @@
  • -
  • -
  • -
  • +
  • +
  • +
  • -
  • -
  • -
  • +
  • +
  • +
  • -
  • +
  • +
  • +
  • +
  • \ No newline at end of file diff --git a/public/style.css b/public/style.css index 3e84068..3243fa5 100644 --- a/public/style.css +++ b/public/style.css @@ -156,7 +156,7 @@ border: 1px solid black; margin: 0 10px 0 0; float: left; - background: url(http://tera-cdn0.enmasse-game.com/assets/store-sprite.png) no-repeat 100px 100px; + background: url(//store-1.edge.enmasse-game.com/assets/store-sprite.e19892bd4a7f8f34b6929a3792d3e20e.png) no-repeat 100px 100px; } #pattern-item-icons #icon-show:after { content: ""; diff --git a/views/index.erb b/views/index.erb index 1d07aca..56f0105 100644 --- a/views/index.erb +++ b/views/index.erb @@ -5,7 +5,8 @@ - + +