Skip to content

Commit

Permalink
Fix infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Nov 26, 2024
1 parent d5a1b60 commit 1651730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/vite.config.local.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {defineConfig} from 'vite';
import {getOcularConfig} from 'ocular-dev-tools';
import {getOcularConfig} from '@vis.gl/dev-tools';
import {join} from 'path';
import {fileURLToPath} from 'url';

Expand Down
2 changes: 1 addition & 1 deletion src/hammerjs/utils/has-parent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function hasParent(node: HTMLElement, parent: HTMLElement): boole
if (ancester === parent) {
return true;
}
ancester = node.parentNode;
ancester = ancester.parentNode;
}
return false;
}

0 comments on commit 1651730

Please sign in to comment.