mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
remove console.log
This commit is contained in:
parent
c2088f5b5d
commit
2b2c83ffb7
1 changed files with 0 additions and 1 deletions
|
@ -11,7 +11,6 @@ Discourse.EditTopicAutoCloseController = Discourse.ObjectController.extend(Disco
|
|||
|
||||
setDays: function() {
|
||||
if( this.get('details.auto_close_at') ) {
|
||||
console.log( this.get('details.auto_close_at') );
|
||||
var closeTime = new Date( this.get('details.auto_close_at') );
|
||||
if (closeTime > new Date()) {
|
||||
this.set('auto_close_days', Math.round(moment(closeTime).diff(new Date(), 'days', true)));
|
||||
|
|
Loading…
Reference in a new issue