Skip to content

Commit

Permalink
Explicitly define height in oembed JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq committed Mar 10, 2017
1 parent 9694d40 commit 0ae7bca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RIGS/rigboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def get(self, request, pk=None):
'html': '<iframe src="{0}" frameborder="0" width="100%" height="250"></iframe>'.format(full_url),
'version': '1.0',
'type': 'rich',
'height': '250'
}

json = simplejson.JSONEncoderForHTML().encode(data)
Expand Down

0 comments on commit 0ae7bca

Please sign in to comment.