Issue #517 Part 1: Import newtab page from Basilisk (sans directory service provider module)

This commit is contained in:
wolfbeast 2018-06-19 19:44:40 +02:00 • committed by Roy Tam
commit 48cdeab201
20 changed files with 4821 additions and 314 deletions

View file

@ -140,7 +140,7 @@ var gDrag = {
// drag image with its default opacity.
let dragElement = document.createElementNS(HTML_NAMESPACE, "div");
dragElement.classList.add("newtab-drag");
let scrollbox = document.getElementById("newtab-scrollbox");
let scrollbox = document.getElementById("newtab-vertical-margin");
scrollbox.appendChild(dragElement);
dt.setDragImage(dragElement, 0, 0);