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:
parent
8d66322c94
commit
b4aa418276
@ -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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user