aboutsummaryrefslogtreecommitdiff
path: root/client-web/source
diff options
context:
space:
mode:
Diffstat (limited to 'client-web/source')
-rw-r--r--client-web/source/resource/track.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client-web/source/resource/track.ts b/client-web/source/resource/track.ts
index 878540b..6456c1e 100644
--- a/client-web/source/resource/track.ts
+++ b/client-web/source/resource/track.ts
@@ -45,7 +45,7 @@ export const resource_track: ResourceHandlerDecl = {
this.el.removeChild(enable_button)
if (!(stream instanceof MediaStream)) return console.warn("expected mediastream");
this.el.append(e("button", {
- class: ["topright", "abort"],
+ class: ["topleft", "abort"],
onclick: (self) => {
disable()
this.el.appendChild(enable_button)
@@ -66,7 +66,7 @@ export function new_local_track(info: ProvideInfo, stream: MediaStream, ...extra
let room: Room;
const el = e("div", { class: `media-${stream.getVideoTracks().length > 0 ? "video" : "audio"}` },
- e("button", { class: ["abort", "topright"], onclick: () => destroy() }, PO.stop_sharing),
+ e("button", { class: ["abort", "topleft"], onclick: () => destroy() }, PO.stop_sharing),
...extra_controls
);