]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
removed couple of unnecessary lines -#368
authorMinoo <minoo.ziaei@gmail.com>
Fri, 1 Apr 2011 18:49:15 +0000 (14:49 -0400)
committerMinoo <minoo.ziaei@gmail.com>
Fri, 1 Apr 2011 18:49:15 +0000 (14:49 -0400)
plugins/image/popcorn.image.js

index 3a2bfff6f2541b5a34e03c5a2d2390bcba433447..328a8b517e6696fdb8e8814e2457705305f8c2d6 100644 (file)
         
         var img = document.createElement( 'img' );
         img.src = options.src;
-        img.style
         img.style.borderStyle = "none"; // borders look really bad, if someone wants it they can put it on their div target
         
         var divText = document.createElement( 'div' );
         divTextStyle = {
-            margin: 'auto',
             position: 'absolute',
-            overflow: 'hidden',
             paddingTop: '20px',
             paddingLeft: '20px',
             paddingBottom: '0',