Max version Dropbox disable and no sync pull animations (#913)

* Max version Dropbox disable and no sync pull animations

Max version Dropbox disable and no sync pull animations.

* Remove TODO

* Kill sync animations entirely, add ref
This commit is contained in:
narcolepticinsomniac 2020-04-28 10:06:57 -04:00 committed by GitHub
parent c50b3cfddc
commit 81b6137d8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -548,7 +548,7 @@ function handleUpdate(style, {reason, method} = {}) {
handleUpdateInstalled(entry, reason);
}
filterAndAppend({entry}).then(sorter.update);
if (!entry.matches('.hidden') && reason !== 'import') {
if (!entry.matches('.hidden') && reason !== 'import' && reason !== 'sync') {
animateElement(entry);
requestAnimationFrame(() => scrollElementIntoView(entry));
}

View File

@ -9,8 +9,8 @@ setupRadioButtons();
enforceInputRange($('#popupWidth'));
setTimeout(splitLongTooltips);
// TODO: add max version to re-enable once crbug.com/996859 is resolved
if (!FIREFOX && CHROME >= 3809) {
// https://github.com/openstyles/stylus/issues/822
if (!FIREFOX && CHROME >= 3809 && CHROME < 4044) {
const dropboxOption = $('option[value="dropbox"]');
dropboxOption.disabled = true;
dropboxOption.setAttribute('title', t('hostDisabled'));