This commit is contained in:
Hideaki Tanabe 2015-01-14 22:06:52 +09:00
parent 3000ccbba0
commit 786e4a6259

View File

@ -51,28 +51,6 @@ $(function() {
var isEdited = false;
$(window).scroll(function() {
var scrollTop = $(window).scrollTop();
scrollTops[currentMode] = scrollTop;
if ((scrollTop > titleHeight)) {
header.css({
'position' : 'fixed',
'top' : fixedTop + 'px',
'z-index' : '100'
});
container.css({
'margin-top' : headerHeight + 'px'
});
} else {
header.css('position', 'static');
container.css({
'margin-top' : 0
});
}
});
$('#markdown').val(example);
$('#output').html(markdown.toHTML(example));
$('#markdown').bind('keyup', function() {