Merge pull request #1578 from Aladdin-ADD/patch-1

fix: comparing typeof expression
This commit is contained in:
Rick Waldron 2018-06-04 10:41:00 -04:00 committed by GitHub
commit 53eebf1e43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ function Section(parentSection, id, name) {
this.toHTML = function(options) {
var defaultOptions = {header: false, renderSubsections: true};
if (typeof options === undefined) {
if (typeof options === "undefined") {
options = defaultOptions;
} else {
options = $.extend(defaultOptions, options);