]> git.mxchange.org Git - friendica.git/commitdiff
Update jot-header.tpl
authorfoss- <github@disr.it>
Sat, 30 Sep 2023 15:26:27 +0000 (17:26 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Sep 2023 15:26:27 +0000 (17:26 +0200)
replace `contains` by `includes` in the "view/theme/frio/templates/jot-header.tpl" file on line 227 to fix this error message (only doing the leg-work here, hope this helps)

view/theme/frio/templates/jot-header.tpl

index c5c3576c7e6271c8f52db6a3dcd18622b58400ad..ed3839860ebdfdbc074a1780ceaf64515c44ef57 100644 (file)
        }
 
        function linkDropper(event) {
-               var linkFound = event.dataTransfer.types.contains("text/uri-list");
+               var linkFound = event.dataTransfer.types.includes("text/uri-list");
                if(linkFound)
                        event.preventDefault();
        }