equal
deleted
inserted
replaced
90 var pxWidth = endPixel - startPixel -1; |
90 var pxWidth = endPixel - startPixel -1; |
91 else |
91 else |
92 /* the last segment has no segment following it */ |
92 /* the last segment has no segment following it */ |
93 var pxWidth = endPixel - startPixel; |
93 var pxWidth = endPixel - startPixel; |
94 |
94 |
95 var divTitle = (annotation.content.title + " - " + annotation.content.description).substr(0,55); |
95 var divTitle = IriSP.clean_substr(annotation.content.title + " -<br>" + annotation.content.description, 0, 132) + "..."; |
96 |
96 |
97 if (typeof(annotation.content.color) !== "undefined") |
97 if (typeof(annotation.content.color) !== "undefined") |
98 var color = annotation.content.color; |
98 var color = annotation.content.color; |
99 else |
99 else |
100 var color = annotation.color; |
100 var color = annotation.color; |