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 9e25d16 commit af9f98bCopy full SHA for af9f98b
src/scripts/scrumHelper.js
@@ -291,7 +291,7 @@ ${userReason}`;
291
else if (projectUrl === 'open-event') project = 'Open Event';
292
return project;
293
}
294
- var intervalSubject = setInterval(() => {
+ const intervalSubject = setInterval(() => {
295
if (!window.emailClientAdapter) {
296
return;
297
@@ -358,7 +358,9 @@ ${userReason}`;
358
359
// Create and set new subject
360
const newSubject = `[Scrum] ${name} - ${project} - ${dateCode} - False`;
361
- console.log('Setting new subject:', newSubject);
+ if (window.DEBUG) {
362
+ console.log('Setting new subject:', newSubject);
363
+ }
364
365
scrumSubject.value = newSubject;
366
scrumSubject.dispatchEvent(new Event('input', { bubbles: true }));
0 commit comments