Pacify eslint

This commit is contained in:
Bryan Housel
2017-08-13 23:42:06 -04:00
parent 9b37ac7b6c
commit 4971a20409

View File

@@ -85,8 +85,10 @@ export function uiChangesetEditor(context) {
if (initial) {
var node = d3.select('#preset-input-comment').node();
node && node.focus();
node && node.select();
if (node) {
node.focus();
node.select();
}
}
notShown = notShown.map(function(field) {