Skip to content

Commit

Permalink
Changed width/height calculation in annotations on left/right slotted…
Browse files Browse the repository at this point in the history
… media.
  • Loading branch information
rust-lucas committed Mar 29, 2016
1 parent 427f21e commit e96d075
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@

temp.children('p:not(:last-child),div:not(:last-child)').wrap('<div class="paragraph_wrapper"></div>');

var width = temp.width()-50;
if(content.parents('.slot.right,.slot.left').length > 0){
height = null;
}

$(page.getMediaLinks(content)).each(function(){
$(this).attr({
Expand Down

0 comments on commit e96d075

Please sign in to comment.