From 0b3713a105abd5ecfd7860b3bed2426e43c4aa52 Mon Sep 17 00:00:00 2001 From: Anna Sobiepanek Date: Thu, 21 Apr 2011 16:36:03 -0400 Subject: [PATCH] more fixes based on feedback from Steven [#452 state:peer-review-requested] --- players/vimeo/popcorn.vimeo.js | 8 -------- 1 file changed, 8 deletions(-) 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 ) { -- 2.43.0