mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-03 13:38:04 +02:00
Fix lint warnings
This commit is contained in:
@@ -70,7 +70,9 @@ export function uiImproveOsmComments() {
|
||||
.append('p')
|
||||
.text(d => d.text);
|
||||
})
|
||||
.catch(err => {}); // TODO: Handle failed json request gracefully in some way
|
||||
.catch(err => {
|
||||
console.log(err); // eslint-disable-line no-console
|
||||
});
|
||||
}
|
||||
|
||||
function localeDateString(s) {
|
||||
|
||||
@@ -195,7 +195,9 @@ export function uiOsmoseDetails(context) {
|
||||
context.features().forceVisible(d.elems);
|
||||
context.map().pan([0,0]); // trigger a redraw
|
||||
})
|
||||
.catch(err => {}); // TODO: Handle failed json request gracefully in some way
|
||||
.catch(err => {
|
||||
console.log(err); // eslint-disable-line no-console
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user