Skip to content
Snippets Groups Projects

Intervall

Merged Stahl, Merle requested to merge bax9187/projekt-cis-biochemie-2021-22:main into main
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline

Files

+ 1
1
@@ -155,7 +155,7 @@ function failure(graph) {
* checks at a fixed interval whether the contents of the JSON file have changed
and reloads the program if necessary
*/
var intervalId = window.setInterval(check_if_json_changed, 500)
var intervalId = window.setInterval(check_if_json_changed, 5000)
function check_if_json_changed() {
d3.json("json_text.json").then(function(graph) {
newjson_string = JSON.stringify(graph)
Loading