Skip to content

Commit

Permalink
resize large items
Browse files Browse the repository at this point in the history
  • Loading branch information
aquarion committed Mar 19, 2017
1 parent 13140ed commit b343353
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dayze/assets/js/nicave.js
Expand Up @@ -273,6 +273,11 @@ var NicAve = {
item.height(nearest50-12);
nearest50 = Math.ceil( width / 50) * 50;
item.width(nearest50-12);

if (item.width()/item.height() < .7 ){
item.height(288);
}
//item.html(item.width()/item.height())
}
});

Expand Down

0 comments on commit b343353

Please sign in to comment.