templates/static/graph.js
changeset 6697 0dbdf47421f5
parent 6691 0dba955c2636
child 6728 84294e3710b8
--- a/templates/static/graph.js	Wed Jun 18 11:09:18 2008 +0200
+++ b/templates/static/graph.js	Wed Jun 18 12:13:59 2008 +0200
@@ -93,9 +93,11 @@
 				end = line[1];
 				color = line[2];
 
-				if (end > this.columns) {
+				if (end > this.columns || start > this.columns) {
 					this.columns += 1;
-				} else if (start == this.columns && start > end) {
+				}
+				
+				if (start == this.columns && start > end) {
 					var fold = true;
 				}