Skip to content

Commit

Permalink
Make external upload work on desktop refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
xirreal committed Feb 7, 2025
1 parent 9d54c16 commit 0385b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/externalUpload/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function onLoad() {
updateConfig();

subscribe("CHANNEL_SELECT", () => {
let unobserve = observeDom('[class^="inner"] > [class^="buttons"]', (element) => {
let unobserve = observeDom('[class^="inner"] > [class^="buttons"], [class^="accessoryBarRight"]', (element) => {
if (element.dataset.externalUpload) return;
unobserve();
element.dataset.externalUpload = true;
Expand Down

0 comments on commit 0385b8e

Please sign in to comment.