Commit 1c0978fe by Tom Giannattasio

fixed jump to top bug on edit form cancel button click

parent 63301300
......@@ -170,6 +170,7 @@ if Backbone?
@renderSubView(@showView)
cancelEdit: (event) =>
event.preventDefault()
@createShowView()
@renderShowView()
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment