hmmm jshint should warn about this....
This commit is contained in:
parent
66b26f6988
commit
851cd2637c
|
@ -68,7 +68,7 @@ Discourse.ComposerView = Discourse.View.extend({
|
||||||
if (this.get('controller.newUserEducationVisible')) {
|
if (this.get('controller.newUserEducationVisible')) {
|
||||||
$panel.slideDown('fast');
|
$panel.slideDown('fast');
|
||||||
} else {
|
} else {
|
||||||
$panel.slideUp('fast')
|
$panel.slideUp('fast');
|
||||||
}
|
}
|
||||||
}.observes('controller.newUserEducationVisible'),
|
}.observes('controller.newUserEducationVisible'),
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ Discourse.ComposerView = Discourse.View.extend({
|
||||||
if (this.get('controller.similarVisible')) {
|
if (this.get('controller.similarVisible')) {
|
||||||
$panel.slideDown('fast');
|
$panel.slideDown('fast');
|
||||||
} else {
|
} else {
|
||||||
$panel.slideUp('fast')
|
$panel.slideUp('fast');
|
||||||
}
|
}
|
||||||
}.observes('controller.similarVisible'),
|
}.observes('controller.similarVisible'),
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ Discourse.ComposerView = Discourse.View.extend({
|
||||||
// If we are editing a post, we'll refresh its contents once. This is a feature that
|
// If we are editing a post, we'll refresh its contents once. This is a feature that
|
||||||
// allows a user to refresh its contents once.
|
// allows a user to refresh its contents once.
|
||||||
if (post && post.blank('refreshedPost')) {
|
if (post && post.blank('refreshedPost')) {
|
||||||
refresh = true
|
refresh = true;
|
||||||
post.set('refreshedPost', true);
|
post.set('refreshedPost', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue