mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-11-07 16:18:19 +00:00
Fixed instances not resolving on different content scripts
This commit is contained in:
1 parent
c1ed23dee5
commit
37095a2f22
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
import type { BaseComponent } from "$lib/components/base/BaseComponent";
|
||||
|
||||
const instanceSymbol = Symbol('instance');
|
||||
const instanceSymbol = Symbol.for('instance');
|
||||
|
||||
interface ElementWithComponent<T> extends HTMLElement {
|
||||
[instanceSymbol]?: T;
|
||||
|
||||
Reference in new issue
Block a user