Skip to content
This repository was archived by the owner on Jun 23, 2018. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove unless statement modifier and use if block
  • Loading branch information
Joel McCracken committed Jan 21, 2015
commit 4f38c9f5d3b3f54799f68b51fee225f9f1764687
3 changes: 2 additions & 1 deletion src/dom.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ $.extend REPLIT,
documentWidth = document.documentElement.clientWidth
documentHeight = document.documentElement.clientHeight
height = documentHeight
height -= (HEADER_HEIGHT + FOOTER_HEIGHT) unless isEmbed()
if !isEmbed()
height -= (HEADER_HEIGHT + FOOTER_HEIGHT)
width = documentWidth - @content_padding
innerWidth = width - 2 * RESIZER_WIDTH

Expand Down