mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 11:04:00 +00:00
Move global file input out of NPM module
This commit is contained in:
parent
be00f781de
commit
b42d5fb91c
1 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ import zaxon from "../skins/ZaxonRemake1-0.wsz";
|
|||
import green from "../skins/Green-Dimension-V2.wsz";
|
||||
import MilkdropWindow from "./components/MilkdropWindow";
|
||||
import screenshotInitialState from "./screenshotInitialState";
|
||||
|
||||
import WebampLazy from "./webampLazy";
|
||||
import enableMediaSession from "./mediaSession";
|
||||
import {
|
||||
|
|
@ -27,6 +28,7 @@ import {
|
|||
SET_EQ_AUTO,
|
||||
SET_DUMMY_VIZ_DATA
|
||||
} from "./actionTypes";
|
||||
|
||||
import { loadFilesFromReferences } from "./actionCreators";
|
||||
|
||||
import {
|
||||
|
|
@ -285,6 +287,7 @@ Raven.context(async () => {
|
|||
|
||||
enableMediaSession(webamp);
|
||||
|
||||
// Expose a file input in the DOM for testing.
|
||||
const fileInput = document.createElement("input");
|
||||
fileInput.id = "webamp-file-input";
|
||||
fileInput.style.display = "none";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue