From: Anna Sobiepanek Date: Thu, 21 Apr 2011 20:36:03 +0000 (-0400) Subject: more fixes based on feedback from Steven [#452 state:peer-review-requested] X-Git-Tag: v0.5~3^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0b3713a105abd5ecfd7860b3bed2426e43c4aa52;p=popcorn-js.git more fixes based on feedback from Steven [#452 state:peer-review-requested] --- diff --git a/players/vimeo/popcorn.vimeo.js b/players/vimeo/popcorn.vimeo.js index aad5b94..d2c3b26 100644 --- a/players/vimeo/popcorn.vimeo.js +++ b/players/vimeo/popcorn.vimeo.js @@ -230,17 +230,9 @@ return matches ? matches[0].substr(10) : ""; } - // Borrowed from: http://www.quirksmode.org/dom/getstyles.html // Gets the style for the given element function getStyle( elem, styleProp ) { return elem.style[styleProp]; - if ( elem.currentStyle ) { - // IE way - return elem.currentStyle[styleProp]; - } else if ( global.getComputedStyle ) { - // Firefox, Chrome, et. al - return document.defaultView.getComputedStyle( elem, null ).getPropertyValue( styleProp ); - } } function makeSwf( self, vidId, containerId ) {