drakosfire commited on
Commit
234b455
1 Parent(s): cf0d79c

added unlock textareas to handleTrashDrop

Browse files
Files changed (1) hide show
  1. scripts.js +1 -1
scripts.js CHANGED
@@ -379,7 +379,6 @@ document.addEventListener("DOMContentLoaded", function() {
379
 
380
  descriptionTextareas.forEach(descriptionTextarea => {
381
  descriptionTextarea.setAttribute('contenteditable', 'true');
382
- console.log(`Contenteditable for element with ID "${descriptionTextarea.id}" is now: ${descriptionTextarea.contentEditable}`);
383
  });
384
 
385
  console.log('All textareas have been unlocked.');
@@ -801,6 +800,7 @@ document.addEventListener("DOMContentLoaded", function() {
801
  // Remove the "over" class and reset the background image
802
  trashArea.classList.remove('over');
803
  trashArea.style.backgroundImage = "url('./closed-mimic-trashcan.png')";
 
804
  initializeTextareaResizing();
805
  }
806
 
 
379
 
380
  descriptionTextareas.forEach(descriptionTextarea => {
381
  descriptionTextarea.setAttribute('contenteditable', 'true');
 
382
  });
383
 
384
  console.log('All textareas have been unlocked.');
 
800
  // Remove the "over" class and reset the background image
801
  trashArea.classList.remove('over');
802
  trashArea.style.backgroundImage = "url('./closed-mimic-trashcan.png')";
803
+ unlockTextareas()
804
  initializeTextareaResizing();
805
  }
806