We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13a4880 commit bae73b1Copy full SHA for bae73b1
website/templates/pages/demo/demo.js
@@ -209,7 +209,9 @@ $(document).ready(function() {
209
210
diff2htmlUi.draw(container, params);
211
diff2htmlUi.fileListCloseable(container, params['fileListCloseable'] || false);
212
- params['highlight'] && diff2htmlUi.highlightCode(container);
+ if (params['highlight'] === undefined || params['highlight']) {
213
+ diff2htmlUi.highlightCode(container);
214
+ }
215
});
216
}
217
0 commit comments