From 81b6137d8aef585711a1c50e138652a4582a70e1 Mon Sep 17 00:00:00 2001 From: narcolepticinsomniac Date: Tue, 28 Apr 2020 10:06:57 -0400 Subject: [PATCH] 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 --- manage/manage.js | 2 +- options/options.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manage/manage.js b/manage/manage.js index ddafe0fd..e79d3ad8 100644 --- a/manage/manage.js +++ b/manage/manage.js @@ -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)); } diff --git a/options/options.js b/options/options.js index d5ab0ce3..817dfcef 100644 --- a/options/options.js +++ b/options/options.js @@ -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'));