This commit is contained in:
Sam 2016-03-30 11:43:58 +11:00
parent 7d20925009
commit 594dc86c40
1 changed files with 0 additions and 2 deletions

View File

@ -75,7 +75,6 @@ const TopicTrackingState = Discourse.Model.extend({
this.messageBus.subscribe("/delete", msg => { this.messageBus.subscribe("/delete", msg => {
const old = tracker.states["t" + msg.topic_id]; const old = tracker.states["t" + msg.topic_id];
debugger
if (old) { if (old) {
old.deleted = true; old.deleted = true;
} }
@ -84,7 +83,6 @@ const TopicTrackingState = Discourse.Model.extend({
this.messageBus.subscribe("/recover", msg => { this.messageBus.subscribe("/recover", msg => {
const old = tracker.states["t" + msg.topic_id]; const old = tracker.states["t" + msg.topic_id];
debugger
if (old) { if (old) {
delete old.deleted; delete old.deleted;
} }