Skip to content

Commit e1d0b90

Browse files
authored
Merge pull request #751 from millenaarg/master
TypeError: config.css is undefined
2 parents 5016fa2 + 97678c7 commit e1d0b90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/cell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
if(config.fontSize){
236236
fontSize = config.fontSize;
237237
}
238-
if (config.css['font-size']) {
238+
if (config.css && typeof(config.css['font-size']) !== "undefined") {
239239
fontSize = config.css['font-size'] * 16;
240240
}
241241
if(config.margins){

0 commit comments

Comments
 (0)