BigW Consortium Gitlab

Commit d9dedac8 by Alfredo Sumaran

Be more specific with selector

parent b47b6abf
......@@ -142,7 +142,7 @@ require('./task_list');
this.commentTypeToggle = new CommentTypeToggle(
form.querySelector('.js-comment-type-dropdown .dropdown-toggle'),
form.querySelector('.js-comment-type-dropdown .dropdown-menu'),
document.getElementById('note_type'),
document.querySelector('.timeline-content-form #note_type'),
form.querySelector('.js-comment-type-dropdown .js-comment-submit-button'),
document.querySelector('.js-note-target-close'),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment