mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 13:42:29 -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) {
|
function gotfile(e) {
|
||||||
ev(e);
|
ev(e);
|
||||||
|
|
||||||
console.log(e.dataTransfer.getData("text"))
|
|
||||||
if (e.dataTransfer && e.dataTransfer.getData("text") && e.dataTransfer.getData("text").startsWith(window.location.origin)){
|
if (e.dataTransfer && e.dataTransfer.getData("text") && e.dataTransfer.getData("text").startsWith(window.location.origin)){
|
||||||
var currLink = e.dataTransfer.getData("text");
|
var currLink = e.dataTransfer.getData("text");
|
||||||
console.log("wrap.ondrop: " + currLink);
|
console.log("wrap.ondrop: " + currLink);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue