mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-27 21:44:21 -04:00
Config CDN for viz.js
This commit is contained in:
parent
dda41c489d
commit
b90c26fe90
5 changed files with 8 additions and 1 deletions
|
@ -306,6 +306,7 @@ function finishView(view) {
|
|||
}
|
||||
});
|
||||
//graphviz
|
||||
var Viz = require("viz.js");
|
||||
var graphvizs = view.find(".graphviz.raw").removeClass("raw");
|
||||
graphvizs.each(function (key, value) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue