fixed jump to top bug on edit form cancel button click
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user