Fix some drag and drop issue in the citation dialog

See https://forums.zotero.org/discussion/81063/beta-rearranging-citations-in-quick-citation-window
This commit is contained in:
Adomas Venčkauskas 2020-01-27 11:54:22 +02:00
parent 8cac7f63f4
commit 39d7f22981
2 changed files with 3 additions and 3 deletions

View file

@ -1313,7 +1313,7 @@ var Zotero_QuickFormat = new function () {
// Move bubble
var range = document.createRange();
range.setStartBefore(event.rangeParent);
range.setStartAfter(event.rangeParent);
dragging.parentNode.removeChild(dragging);
var bubble = _insertBubble(JSON.parse(dragging.dataset.citationItem), range);

View file

@ -144,8 +144,8 @@
}
body {
margin: 0 2px 0 2px;
padding: 0;
padding: 0 2px 0 2px;
margin: 0;
font: -moz-field;
overflow: hidden;
}