in nbextensions/usability/code_font_size:

* fix default handling of `pre_style.fontSize`, which broke if it was undefined.
This commit is contained in:
Josh Barnes
2015-12-31 02:03:08 +00:00
parent 1b974bfbbd
commit fb3d9211ec
@@ -29,7 +29,7 @@ define([
pre_style = pre_css.cssRules[0];
}
var font_size = pre_style.fontSize;
var font_size = pre_style.fontSize || "";
if(font_size == "")
font_size = 14;
else