We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fecec4 commit a0118a7Copy full SHA for a0118a7
extensions/BugModal/web/comments.js
@@ -105,11 +105,13 @@ $(function() {
105
106
// Reference the form element’s jQuery object. We use event delegation so these still work after
107
// dynamic HTML updates.
108
- const form = $('#changeform')
109
- .on('click', '.change-spinner', function(event) {
110
- event.preventDefault();
111
- toggleChange($(this));
112
- });
+ const form = $('#changeform');
+
+ // individual comment toggles: logged-out users don’t have the form, so bind to `#main-inner`
+ $('#main-inner').on('click', '.change-spinner', function(event) {
+ event.preventDefault();
113
+ toggleChange($(this));
114
+ });
115
116
// view and tag menus
117
0 commit comments