mirror of
https://github.com/idreesinc/Waypoint.git
synced 2026-07-22 06:20:32 +00:00
commit
e85b662fa1
1 changed files with 1 additions and 1 deletions
2
main.ts
2
main.ts
|
|
@ -256,7 +256,7 @@ export default class Waypoint extends Plugin {
|
|||
waypointStart = i;
|
||||
continue;
|
||||
}
|
||||
if (waypointStart !== -1 && trimmed === endWaypoint) {
|
||||
if (waypointStart !== -1 && trimmed.includes(endWaypoint)) {
|
||||
waypointEnd = i;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue