summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/web/bug_modal.js
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-06-03 08:07:05 +0200
committerByron Jones <glob@mozilla.com>2015-06-03 08:07:05 +0200
commit311d6a011de32aaab723d8c72f95b1a26bc8ae7b (patch)
tree503c2df369d671d095e72f63b8910ac42f57b0bc /extensions/BugModal/web/bug_modal.js
parent5cdb187d8ebf78af1f26d52ef9045c6925bfe869 (diff)
downloadbugzilla-311d6a011de32aaab723d8c72f95b1a26bc8ae7b.tar.gz
bugzilla-311d6a011de32aaab723d8c72f95b1a26bc8ae7b.tar.xz
Bug 1170922: unable to collapse comments -- they bounce back open
Diffstat (limited to 'extensions/BugModal/web/bug_modal.js')
-rw-r--r--extensions/BugModal/web/bug_modal.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index fe1ae221e..473de438e 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -100,23 +100,6 @@ $(function() {
$('#attachments tr.attach-obsolete').toggle();
});
- // comment collapse/expand
- $('.comment-spinner')
- .click(function(event) {
- event.preventDefault();
- var spinner = $(event.target);
- var id = spinner.attr('id').match(/\d+$/)[0];
- // switch to full header for initially collapsed comments
- if (spinner.attr('id').match(/^ccs-/)) {
- $('#cc-' + id).hide();
- $('#ch-' + id).show();
- }
- $('#ct-' + id + ', #ctag-' + id).slideToggle('fast', function() {
- $('#c' + id).find('.activity').toggle();
- spinner.text($('#ct-' + id + ':visible').length ? '-' : '+');
- });
- });
-
// url --> unsafe warning
$('.unsafe-url')
.click(function(event) {