Bugs reported by Micjael
Dear jvenn developers,
I am using your tool for Venn diagrams and like it very much. However, I encountered some problems: In version 1.5 if I hover over the numbers, I get an error: Uncaught TypeError: Cannot read property 'val' of null in jvenn.js:2440.(in both Chrome and Firefox) This is due to the missing null check for opts.searchInput. I changed the line from: if(opts.searchInput.val() != '') { activesearch= true; } to: if(opts.searchInput != null && opts.searchInput.val() != '') { activesearch= true; } The same is in line 2473. Another problem I had is with the exporting menu. The div id is #menu, which I already had for my page menu. This may be a common problem. Renaming it to export-menu in lines 2034: var div_export = '';
Edited by Jerome Mariette