Skip to content

Commit

Permalink
fixed issue that prevented item filtering after right click
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Rocek committed May 28, 2016
1 parent 2694f02 commit 8cfd1c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pixel-doll.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ addons.register({
},
addCompareTooltips: function()
{
var invItem = $('.item');
var invItem = $('.uiInventory .grid > .item');
var invItemL = invItem.length;
for (var i = 0; i < invItemL; i++)
{
Expand Down Expand Up @@ -124,7 +124,7 @@ addons.register({
addQualityBorders: function()
{
setTimeout(function(){
var item = $('.item');
var item = $('.uiInventory .grid > .item');
var itemLength = item.length;

for(var i = 0; i < itemLength; i++ )
Expand Down Expand Up @@ -222,7 +222,7 @@ addons.register({
level = data.level;
}
setTimeout(function(){
var item = $('.item');
var item = $('.uiInventory .grid > .item');
var itemL = item.length;
for(var i = 0; i < itemL; i++)
{
Expand Down

0 comments on commit 8cfd1c5

Please sign in to comment.