diff --git a/js/gui.js b/js/gui.js index d3df2deb8a..a1ec1e436b 100644 --- a/js/gui.js +++ b/js/gui.js @@ -109,7 +109,6 @@ GUI_control.prototype.interval_kill_all = function(keep_array) { if (!keep) { clearInterval(this.interval_array[i].timer); // stop timer - this.interval_array[i].timer = undefined; // set timer property to undefined (mostly for debug purposes, but it doesn't hurt to have it here) this.interval_array.splice(i, 1); // remove element/object from array