Commit 1bee203512ed0b41035f6695770c9d74562c2490
1 parent
691eac40
Exists in
master
and in
3 other branches
Subject badge adjusts
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
amadeus/static/js/socket.js
... | ... | @@ -73,7 +73,7 @@ function muralNotificationPost(content) { |
73 | 73 | } |
74 | 74 | }); |
75 | 75 | |
76 | - if (content.post_type == "subject") { | |
76 | + if (content.post_type == "subjects") { | |
77 | 77 | var slug = content.container.substring(1, content.container.length), |
78 | 78 | subject_mbadge = $("#subject_" + slug).find('.mural_notify'), |
79 | 79 | actual = subject_mbadge.text(); |
... | ... | @@ -158,8 +158,6 @@ function muralNotificationComment(content) { |
158 | 158 | comments.append(content.complete); |
159 | 159 | } |
160 | 160 | } else { |
161 | - console.log("Lester"); | |
162 | - | |
163 | 161 | $('.mural_badge').each(function () { |
164 | 162 | var actual = $(this).text(); |
165 | 163 | ... | ... |