mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
Pacify eslint
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user