Updated main.js

pull/75/head
Sheng 2019-06-22 12:49:07 +08:00
parent b2ba79d27f
commit 8fce3db5d2
1 changed files with 5 additions and 0 deletions

View File

@ -204,6 +204,11 @@ jQuery(function($){
function reset_font_family(term) {
if (!term.font_family_updated) {
console.log('Already using default font family');
return;
}
if (default_fonts) {
term.setOption('fontFamily', default_fonts);
term.font_family_updated = false;