Removed duplicate function

This commit is contained in:
Paul A 2017-10-20 15:32:58 +02:00
parent 69901abdd0
commit 48fc8e3464

View file

@ -32,7 +32,7 @@ function update_values() {
function(data) { function(data) {
window.glob_tabvar = data; window.glob_tabvar = data;
}); });
}; }
// Plot and update the number of processed pastes // Plot and update the number of processed pastes
@ -124,14 +124,6 @@ function initfunc( csvay, scroot) {
window.scroot = scroot; window.scroot = scroot;
}; };
function update_values() {
$SCRIPT_ROOT = window.scroot ;
$.getJSON($SCRIPT_ROOT+"/_stuff",
function(data) {
window.glob_tabvar = data;
});
};
var source = new EventSource('/_logs'); var source = new EventSource('/_logs');
source.onmessage = function(event) { source.onmessage = function(event) {