We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77bfaa1 commit e7e2467Copy full SHA for e7e2467
codedrop.js
@@ -156,7 +156,7 @@ cd.on('drop', (ev) => {
156
if (gitToken == '') {
157
158
// remove drop indication
159
- document.body.classList.remove('focus');
+ cd.classList.remove('focus');
160
161
if (ev.dataTransfer.items) {
162
@@ -197,7 +197,7 @@ cd.on('dragover', (ev) => {
197
198
199
// show drop indication
200
- document.body.classList.add('focus');
+ cd.classList.add('focus');
201
202
}
203
@@ -209,7 +209,7 @@ cd.on('dragleave', (ev) => {
209
210
211
212
213
214
215
0 commit comments