Skip to content

Commit 311d6a0

Browse files
committed
Bug 1170922: unable to collapse comments -- they bounce back open
1 parent 5cdb187 commit 311d6a0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

extensions/BugModal/web/bug_modal.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -100,23 +100,6 @@ $(function() {
100100
$('#attachments tr.attach-obsolete').toggle();
101101
});
102102

103-
// comment collapse/expand
104-
$('.comment-spinner')
105-
.click(function(event) {
106-
event.preventDefault();
107-
var spinner = $(event.target);
108-
var id = spinner.attr('id').match(/\d+$/)[0];
109-
// switch to full header for initially collapsed comments
110-
if (spinner.attr('id').match(/^ccs-/)) {
111-
$('#cc-' + id).hide();
112-
$('#ch-' + id).show();
113-
}
114-
$('#ct-' + id + ', #ctag-' + id).slideToggle('fast', function() {
115-
$('#c' + id).find('.activity').toggle();
116-
spinner.text($('#ct-' + id + ':visible').length ? '-' : '+');
117-
});
118-
});
119-
120103
// url --> unsafe warning
121104
$('.unsafe-url')
122105
.click(function(event) {

0 commit comments

Comments
 (0)