Diff
Not logged in

Differences From Artifact [698b3878dc]:

To Artifact [0fb6e0b624]:


847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
847
848
849
850
851
852
853


854
855
856
857
858
859
860







-
-







                return;
              }
              this.$eMsg = tgtMsg;
              this.refresh();
            }
          }/*f.popup*/;
        }/*end static init*/
        console.debug("event =",ev);
        console.debug("event.target =",ev.target);
        let theMsg = ev.target;
        while( theMsg && !theMsg.classList.contains('message-widget')){
          theMsg = theMsg.parentNode;
        }
        if(theMsg) f.popup.show(theMsg);
      }/*_handleLegendClicked()*/
    };
906
907
908
909
910
911
912
913

914
915
916
917
918
919
920
904
905
906
907
908
909
910

911
912
913
914
915
916
917
918







-
+







       file selection element. */
    document.addEventListener('paste', function(event){
      const items = event.clipboardData.items,
            item = items[0];
      if(!item || !item.type) return;
      else if('file'===item.kind){
        updateDropZoneContent(false/*clear prev state*/);
        updateDropZoneContent(items[0].getAsFile());
        updateDropZoneContent(item.getAsFile());
      }
    }, false);
    /* Add help button for drag/drop/paste zone */
    Chat.e.inputFile.parentNode.insertBefore(
      F.helpButtonlets.create(
        Chat.e.fileSelectWrapper.querySelector('.help-buttonlet')
      ), Chat.e.inputFile