Make reference toggle clickable. Closes #1780.

This commit is contained in:
Antonin Delpeuch 2018-10-28 10:14:34 +01:00
parent 3fb282852d
commit 32805b19a4

View File

@ -572,7 +572,7 @@ SchemaAlignmentDialog._addStatement = function(container, datatype, json) {
var referencesToggle = $('<a></a>').appendTo(referencesToggleContainer);
right = $('<div></div>').addClass('wbs-right').appendTo(statement);
var referenceContainer = $('<div></div>').addClass('wbs-reference-container').appendTo(right);
referencesToggle.click(function(e) {
referencesToggleContainer.click(function(e) {
triangle.toggleClass('pointing-down');
triangle.toggleClass('pointing-right');
referenceContainer.toggle(100);