diff --git a/src/xterm.js b/src/xterm.js index f785ab1a..bc0de043 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -366,7 +366,7 @@ Terminal.prototype.getOption = function(key, value) { throw new Error('No option with key "' + key + '"'); } - if (typeof this.options[key] != 'undefined') { + if (typeof this.options[key] !== 'undefined') { return this.options[key]; }