Max version Dropbox disable and no sync pull animations

Max version Dropbox disable and no sync pull animations.
This commit is contained in:
narcolepticinsomniac 2020-04-27 16:14:02 -04:00
parent c50b3cfddc
commit 64d20c99de
2 changed files with 2 additions and 2 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' && !$('#stylus-embedded-options')) {
animateElement(entry);
requestAnimationFrame(() => scrollElementIntoView(entry));
}

View File

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