Removed duplicate function

pull/145/head
Paul A 2017-10-20 15:32:58 +02:00
parent 69901abdd0
commit 48fc8e3464
1 changed files with 3 additions and 11 deletions

View File

@ -27,12 +27,12 @@ function initfunc( csvay, scroot) {
}; };
function update_values() { function update_values() {
$SCRIPT_ROOT = window.scroot ; $SCRIPT_ROOT = window.scroot ;
$.getJSON($SCRIPT_ROOT+"/_stuff", $.getJSON($SCRIPT_ROOT+"/_stuff",
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) {