remove console.log

This commit is contained in:
Neil Lalonde 2013-08-28 15:53:42 -04:00
parent c2088f5b5d
commit 2b2c83ffb7

View file

@ -11,7 +11,6 @@ Discourse.EditTopicAutoCloseController = Discourse.ObjectController.extend(Disco
setDays: function() { setDays: function() {
if( this.get('details.auto_close_at') ) { 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') ); var closeTime = new Date( this.get('details.auto_close_at') );
if (closeTime > new Date()) { if (closeTime > new Date()) {
this.set('auto_close_days', Math.round(moment(closeTime).diff(new Date(), 'days', true))); this.set('auto_close_days', Math.round(moment(closeTime).diff(new Date(), 'days', true)));