更新时间:2022-11-12 19:28:15
没有 fontSize $的迹象c $ c>!
此外,您的代码缩进建议您认为 else
部分属于 if( fontType ...)
它属于 if(fontSize ...)
部分......
在这里查看一个jquery a ided解决方案(某种形式): http://jsfiddle.net/1qhk4w38/ [ ^ ]
There is no sign offontSize
!
Also your indentation of code suggest that you think that theelse
part belongs to theif(fontType...)
where it belongs to theif(fontSize...)
part...
Check here a jquery aided solution (of some kind): http://jsfiddle.net/1qhk4w38/[^]