Skip to content

Commit

Permalink
Refresh CodeMirror after resizing it, so the scrollbars do the right …
Browse files Browse the repository at this point in the history
…stuff.
  • Loading branch information
emackey committed Dec 24, 2011
1 parent 8617669 commit ffdca9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@
codeElement = code.getWrapperElement();
codeElement.style.width = resizer.currentWidth + 'px';
codeElement.style.height = resizer.currentHeight + 'px';
code.refresh();
}
}, false );

Expand Down

0 comments on commit ffdca9c

Please sign in to comment.