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:
		
							parent
							
								
									c50b3cfddc
								
							
						
					
					
						commit
						81b6137d8a
					
				| 
						 | 
				
			
			@ -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));
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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'));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user