Merge pull request from UltCombo/iframe-style

Remove iframe borders using CSS instead of DOM
This commit is contained in:
Nick Winter 2015-10-20 06:15:54 -07:00
commit b03091c35d
2 changed files with 3 additions and 1 deletions
app
styles/common
views/play/menu

View file

@ -14,6 +14,9 @@ h1, h2, h3, h4, h5, h6
a
cursor: pointer
iframe
border: none
.error
left: 8px

View file

@ -121,7 +121,6 @@ module.exports = class LevelGuideView extends CocoView
tag.src = helpVideoURL + "?api=1&badge=0&byline=0&portrait=0&title=0"
tag.height = @helpVideoHeight
tag.width = @helpVideoWidth
tag.frameborder = '0'
tag.allowFullscreen = true
@$el.find('#help-video-player').replaceWith(tag)