mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
remove useless console.log
This commit is contained in:
parent
083ab0465c
commit
54504d5b60
2 changed files with 1 additions and 4 deletions
|
@ -248,7 +248,6 @@ Discourse.Composer = Discourse.Model.extend({
|
|||
if (opts.postId) {
|
||||
this.set('loading', true);
|
||||
Discourse.Post.load(opts.postId).then(function(result) {
|
||||
console.log(result);
|
||||
composer.set('post', result);
|
||||
composer.set('loading', false);
|
||||
});
|
||||
|
|
|
@ -281,7 +281,6 @@ Discourse.ComposerView = Discourse.View.extend({
|
|||
});
|
||||
|
||||
var addImages = function (e, data) {
|
||||
console.log('addImages');
|
||||
// can only upload one image at a time
|
||||
if (data.files.length > 1) {
|
||||
bootbox.alert(Em.String.i18n('post.errors.upload_too_many_images'));
|
||||
|
@ -336,8 +335,7 @@ Discourse.ComposerView = Discourse.View.extend({
|
|||
// I hate to use Em.run.later, but I don't think there's a way of waiting for a CSS transition
|
||||
// to finish.
|
||||
return Em.run.later(jQuery, (function() {
|
||||
var replyTitle;
|
||||
replyTitle = $('#reply-title');
|
||||
var replyTitle = $('#reply-title');
|
||||
_this.resize();
|
||||
if (replyTitle.length) {
|
||||
return replyTitle.putCursorAtEnd();
|
||||
|
|
Loading…
Reference in a new issue