Permalink
Browse files

Bug with box-shadow seems to be gone

  • Loading branch information...
1 parent 26af95a commit 86ce9b58a183ab372a5350b78d3512167a1144fa @aleho committed Feb 7, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 Source/mooImageLayer.js
View
6 Source/mooImageLayer.js
@@ -130,13 +130,7 @@ var mooImageLayer = new Class
scaleImage: function()
{
- /* These properties are set and removed.
- * For some reason there is a bug with box-shadow that makes max available
- * size of body element smaller than it actually is if there was no height
- * set for the image. */
- this.image.set({width: 0, height: 0});
var doc = document.id(document.body).getSize();
- this.image.removeProperties('width', 'height');
var max = {
x: doc.x * this.options.sizefactor,

0 comments on commit 86ce9b5

Please sign in to comment.