fixed jump to top bug on edit form cancel button click

This commit is contained in:
Tom Giannattasio
2012-09-13 15:16:17 -04:00
parent d2c6ae9391
commit cb9697ba58
2 changed files with 6 additions and 1 deletions

View File

@@ -170,6 +170,7 @@ if Backbone?
@renderSubView(@showView)
cancelEdit: (event) =>
event.preventDefault()
@createShowView()
@renderShowView()

View File

@@ -272,10 +272,14 @@ body.discussion {
.edit-post-form {
width: 100%;
margin-bottom: 20px;
margin-bottom: 40px;
@include clearfix;
@include box-sizing(border-box);
h1 {
font-size: 20px;
}
.form-row {
margin-top: 20px;
}