Make highlight default in the demo
This commit is contained in:
parent
13a4880c59
commit
bae73b15a2
1 changed files with 3 additions and 1 deletions
|
|
@ -209,7 +209,9 @@ $(document).ready(function() {
|
|||
|
||||
diff2htmlUi.draw(container, params);
|
||||
diff2htmlUi.fileListCloseable(container, params['fileListCloseable'] || false);
|
||||
params['highlight'] && diff2htmlUi.highlightCode(container);
|
||||
if (params['highlight'] === undefined || params['highlight']) {
|
||||
diff2htmlUi.highlightCode(container);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue