Skip to content

Commit

Permalink
fix =/== typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Feb 18, 2011
1 parent 759d97c commit 334c692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codemirror.js
Expand Up @@ -1457,7 +1457,7 @@ var CodeMirror = (function() {
setOption: function(option, value) {
options[option] = value;
if (option == "lineNumbers" || option == "gutter") gutterChanged();
else if (option == "mode" || option = "indentUnit") setMode(value);
else if (option == "mode" || option == "indentUnit") setMode(value);
},
getOption: function(option) {return options[option];},
undo: operation(undo),
Expand Down

0 comments on commit 334c692

Please sign in to comment.