mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
fix issue connected to cross window dragdrop
This commit is contained in:
parent
0f62c67250
commit
1368b3b355
|
|
@ -1194,7 +1194,6 @@ function up2k_init(subtle) {
|
|||
function gotfile(e) {
|
||||
ev(e);
|
||||
|
||||
console.log(e.dataTransfer.getData("text"))
|
||||
if (e.dataTransfer && e.dataTransfer.getData("text") && e.dataTransfer.getData("text").startsWith(window.location.origin)){
|
||||
var currLink = e.dataTransfer.getData("text");
|
||||
console.log("wrap.ondrop: " + currLink);
|
||||
|
|
|
|||
Loading…
Reference in a new issue