Skip to content
Snippets Groups Projects
Unverified Commit 0fd614f7 authored by 薛定谔的猫's avatar 薛定谔的猫 Committed by GitHub
Browse files

fix: comparing typeof expression

parent 92003a3e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment