Move global file input out of NPM module

This commit is contained in:
Jordan Eldredge 2018-09-19 21:43:55 -07:00
parent 245dd166a2
commit 9f726899c7

View File

@ -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";