Merge pull request #13482 from foss-/patch-6

Update jot-header.tpl
This commit is contained in:
Hypolite Petovan 2023-09-30 11:33:20 -04:00 committed by GitHub
commit ad414f33c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@
} }
function linkDropper(event) { function linkDropper(event) {
var linkFound = event.dataTransfer.types.contains("text/uri-list"); var linkFound = event.dataTransfer.types.includes("text/uri-list");
if(linkFound) if(linkFound)
event.preventDefault(); event.preventDefault();
} }