1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-26 18:58:21 +02:00

Chore: No need to warn about falling back to the default font

This commit is contained in:
Laurent Cozic 2022-08-18 11:42:48 +01:00
parent 8d66322c94
commit b4aa418276

View File

@ -82,7 +82,7 @@ function editorFont(fontId) {
[Setting.FONT_MONOSPACE]: 'monospace', [Setting.FONT_MONOSPACE]: 'monospace',
}; };
if (!fontId) { if (!fontId) {
console.warn('Editor font not set! Falling back to default font."'); // console.warn('Editor font not set! Falling back to default font."');
fontId = Setting.FONT_DEFAULT; fontId = Setting.FONT_DEFAULT;
} }
return fonts[fontId]; return fonts[fontId];