mirror of https://github.com/huashengdun/webssh
Updated main.js
parent
b2ba79d27f
commit
8fce3db5d2
|
@ -204,6 +204,11 @@ jQuery(function($){
|
||||||
|
|
||||||
|
|
||||||
function reset_font_family(term) {
|
function reset_font_family(term) {
|
||||||
|
if (!term.font_family_updated) {
|
||||||
|
console.log('Already using default font family');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (default_fonts) {
|
if (default_fonts) {
|
||||||
term.setOption('fontFamily', default_fonts);
|
term.setOption('fontFamily', default_fonts);
|
||||||
term.font_family_updated = false;
|
term.font_family_updated = false;
|
||||||
|
|
Loading…
Reference in New Issue