Commit 71d4c63f authored by Björn Bartels's avatar Björn Bartels

PATLAB-11 refactored statement.

parent 4d3a44bf
...@@ -7,7 +7,7 @@ function highlightCode(code, language) { ...@@ -7,7 +7,7 @@ function highlightCode(code, language) {
} }
var lang = language.replace('_example', ''); var lang = language.replace('_example', '');
if (lang == '') { if (lang == '') {
lang == 'html'; lang = 'html';
} }
var example = language != lang; var example = language != lang;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment