Skip to content

Commit

Permalink
fixes basecamp#1088, restore missing fileInputId property
Browse files Browse the repository at this point in the history
  • Loading branch information
chadrschroeder committed Sep 19, 2023
1 parent ade9bc0 commit 515c157
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/trix/config/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { makeElement, removeNode } from "trix/core/helpers/dom"

const input = {
level2Enabled: true,
fileInputId: `trix-file-input-${Date.now().toString(16)}`,

getLevel() {
if (this.level2Enabled && browser.supportsInputEvents) {
Expand Down

0 comments on commit 515c157

Please sign in to comment.