diff --git a/tether-drop/tether-drop-tests.ts b/tether-drop/tether-drop-tests.ts index f67f746a7c..8976f0344c 100644 --- a/tether-drop/tether-drop-tests.ts +++ b/tether-drop/tether-drop-tests.ts @@ -24,7 +24,7 @@ d.remove(); d.toggle(); d.position(); d.destroy(); -d.element.appendChild(document.createElement("div")); +d.content.appendChild(document.createElement("div")); d.tether.position(); d.on("open", () => false); diff --git a/tether-drop/tether-drop.d.ts b/tether-drop/tether-drop.d.ts index 19c48ec7a1..8ee8ca1c02 100644 --- a/tether-drop/tether-drop.d.ts +++ b/tether-drop/tether-drop.d.ts @@ -10,7 +10,6 @@ declare class Drop { constructor(options: Drop.IDropOptions); public content: HTMLElement; - public element: HTMLElement; public tether: Tether; public open(): void; public close(): void;