fix: [UI] Glaaxy quick view collapse toggle didn't correctly replace the + with a - when expanded, fixes #3678

pull/3725/head
iglocska 2018-09-14 10:45:27 +02:00
parent 0df898f42d
commit 4b571a4cad
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<?php
<?php
$fixed_fields = array('synonyms', 'description', 'meta', 'authors', 'source');
foreach ($data as $galaxy):
?>
@ -103,9 +103,9 @@ $(document).ready(function () {
$('.expandContainer').click(function() {
$(this).children('.galaxy_data').toggle();
if ($(this).children('.collapse-status').html() == '+') {
$(this).children('.collapse-status').val('-');
$(this).children('.collapse-status').html('-');
} else {
$(this).children('.collapse-status').val('+');
$(this).children('.collapse-status').html('+');
}
});
$('.delete-cluster').click(function() {