Skip to content

Commit

Permalink
mobileDnD
Browse files Browse the repository at this point in the history
  • Loading branch information
jogibear9988 committed Apr 29, 2024
1 parent b350d2f commit 78ac005
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
<!-- Drag/Drop support on touch devices -->
<link rel="stylesheet" href="./node_modules/mobile-drag-drop/default.css">
<script src="./node_modules/mobile-drag-drop/index.js"></script>
<script>
MobileDragDrop.polyfill({
forceApply: !!(navigator.maxTouchPoints && navigator.userAgent.includes('Safari') && !navigator.userAgent.includes('Chrome'))
});
</script>

<!-- if you use Moacco Editor -->
<script src="./node_modules/monaco-editor/min/vs/loader.js"></script>
Expand Down

0 comments on commit 78ac005

Please sign in to comment.