Skip to content

Commit

Permalink
Update verb-widget.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Blainegunn authored Oct 17, 2024
1 parent 4c1959e commit 4587b63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion acrobat/blocks/verb-widget/verb-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export default async function init(element) {
if (e.detail?.event === 'drop') {
initiatePrefetch(VERB);
verbAnalytics('files-dropped', VERB, e.detail?.data);
// setDraggingClass(widget, false);
setDraggingClass(widget, false);
setUser();
}

Expand All @@ -258,6 +258,7 @@ export default async function init(element) {
};

const handleError = (str) => {
setDraggingClass(widget, false);
errorState.classList.add('verb-error');
errorState.classList.remove('hide');
errorStateText.textContent = str;
Expand Down

0 comments on commit 4587b63

Please sign in to comment.