mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 17:14:04 +02:00
Fix the seemingly safe spellings found by codespell
Untested, only checked by inspection.
This commit is contained in:
@@ -167,7 +167,7 @@ export function behaviorDrawWay(context, wayID, mode, startGraph) {
|
||||
if (includeDrawNode) {
|
||||
if (parentWay.isClosed()) {
|
||||
// don't test the last segment for closed ways - #4655
|
||||
// (still test the first segement)
|
||||
// (still test the first segment)
|
||||
nodes.pop();
|
||||
}
|
||||
} else { // discount the draw node
|
||||
|
||||
@@ -156,7 +156,7 @@ export function behaviorHash(context) {
|
||||
var maxdist = 500;
|
||||
|
||||
// Don't allow the hash location to change too much while drawing
|
||||
// This can happen if the user accidently hit the back button. #3996
|
||||
// This can happen if the user accidentally hit the back button. #3996
|
||||
if (mode && mode.id.match(/^draw/) !== null && dist > maxdist) {
|
||||
context.enter(modeBrowse(context));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user