mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-24 08:37:42 +00:00
fix(web): missing break-statements in switch
This commit is contained in:
parent
a48235043d
commit
6116a49520
1 changed files with 3 additions and 0 deletions
|
|
@ -1087,10 +1087,13 @@ export class PageContextAttachment extends EventEmitter<EventMap> {
|
|||
switch(n) {
|
||||
case 0:
|
||||
fs=fsDefault;
|
||||
break;
|
||||
case 1:
|
||||
fs = getComputedStyle(ipInput[0]).fontFamily || '';
|
||||
break;
|
||||
case 2:
|
||||
fs = getComputedStyle(ipTextArea[0]).fontFamily || '';
|
||||
break;
|
||||
}
|
||||
if(typeof(fs) == 'undefined' || fs == 'monospace') {
|
||||
fs=fsDefault;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue