speedup: don't animate elements during import

This commit is contained in:
tophf 2017-04-11 08:17:37 +03:00
parent b61dc4184b
commit 7f6d3e241a

View File

@ -352,10 +352,10 @@ function handleUpdate(style, {reason, quiet} = {}) {
}
}
installed.insertBefore(element, findNextElement(style));
if (!quiet) {
if (reason != 'import') {
animateElement(element, {className: 'highlight'});
scrollElementIntoView(element);
}
scrollElementIntoView(element);
}