]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
fixed show hit rate option for reference channel
authorCahit Ugur <c.ugur@gsi.de>
Fri, 8 May 2015 09:08:15 +0000 (11:08 +0200)
committerCahit Ugur <c.ugur@gsi.de>
Fri, 8 May 2015 09:08:15 +0000 (11:08 +0200)
web/htdocs/tdc/tdc.htm

index 827102f83e84fec0fdf17b0066265d5fe5911a27..ccb738c9fd7fe9eb7155dd18d7528ee29137a554 100644 (file)
@@ -138,7 +138,7 @@ function update(data) {
     for(j=0;j<b.length-1;j++) {
       if(isShown[j]) {
         enabled = (enableGroup[j][Math.floor((i-2)/32)]&1<<(i-2)%32)?"checked":"";
-        if(showhitrate == 0 && enabled == 0) 
+        if(showhitrate == 0 && enabled == 0 && i != 1
           val = 0x0;
         else {
           if(differences) {