Account for Dropbox bug

This commit is contained in:
narcolepticinsomniac 2020-02-02 00:53:52 -05:00
parent 1f12d50aaf
commit 3c0c81ae51
2 changed files with 11 additions and 0 deletions

View File

@ -445,6 +445,10 @@
"message": "Press a hotkey", "message": "Press a hotkey",
"description": "Placeholder text of inputbox in keymap help popup on the edit style page. Must be very short" "description": "Placeholder text of inputbox in keymap help popup on the edit style page. Must be very short"
}, },
"hostDisabled": {
"message": "This host has been disabled due to a bug in the current version of the browser being used",
"description": "Tooltip for cloud host disabled"
},
"importAppendLabel": { "importAppendLabel": {
"message": "Append to style", "message": "Append to style",
"description": "Label for the button to import a style and append to the existing sections" "description": "Label for the button to import a style and append to the existing sections"

View File

@ -9,6 +9,13 @@ setupRadioButtons();
enforceInputRange($('#popupWidth')); enforceInputRange($('#popupWidth'));
setTimeout(splitLongTooltips); setTimeout(splitLongTooltips);
// TODO: add max version to re-enable once crbug.com/996859 is resolved
if (!FIREFOX && CHROME >= 3809) {
const dropboxOption = $('option[value="dropbox"]');
dropboxOption.disabled = true;
dropboxOption.setAttribute('title', t('hostDisabled'));
}
if (CHROME_HAS_BORDER_BUG) { if (CHROME_HAS_BORDER_BUG) {
const borderOption = $('.chrome-no-popup-border'); const borderOption = $('.chrome-no-popup-border');
if (borderOption) { if (borderOption) {