Skip to content

Commit

Permalink
removed 5px offset for iOS players ( just adds black border )
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Dale committed Nov 15, 2012
1 parent 97f1ac4 commit 47e6fc9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/EmbedPlayer/resources/mw.EmbedPlayer.js
Expand Up @@ -1163,7 +1163,9 @@
this.getInterface().find('.block').each(function() {
height += $( this ).outerHeight( true );
});
var offset = (mw.isIOS()) ? 5 : 0;
// no clear need for this, seems to be adding black borders to iOS players?
// if needed restore with comment.
//var offset = (mw.isIOS()) ? 5 : 0;

return height + offset;
},
Expand Down

0 comments on commit 47e6fc9

Please sign in to comment.