Reduce use of global selection (re: #7445)

This commit is contained in:
Quincy Morgan
2020-03-24 13:02:06 -07:00
parent 5a0d0bf653
commit 0931459dba
23 changed files with 48 additions and 47 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ export function uiNoteEditor(context) {
// function changeCategory() {
// // NOTE: perhaps there is a better way to get value
// var val = d3_select('input[name=\'category\']:checked').property('__data__') || undefined;
// var val = context.container().select('input[name=\'category\']:checked').property('__data__') || undefined;
// // store the unsaved category with the note itself
// _note = _note.update({ newCategory: val });