Skip to content

Commit

Permalink
Merge pull request #1 from docking-org/master
Browse files Browse the repository at this point in the history
Improved image loading and high resolution zoom speed
  • Loading branch information
ChinzoD committed Sep 13, 2021
2 parents 39a31a2 + b088dd4 commit 1045060
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions app/static/scripts/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jQuery(function ($) {
if ($('#sample_dropdown').val().length + $('#gene_dropdown').val().length +
$('#organ_dropdown').val().length + $('#experiment_dropdown').val().length > 0) {
updateFilter(0);
// updateFilter(1);
updateSpecimen();
} else {
setDefaultDDlVal(1, 1, 1, 1);
Expand Down Expand Up @@ -147,22 +146,6 @@ jQuery(function ($) {
updateFilter(s1);
updateSpecimen();
}
// if ($('#gene_dropdown').val().length == 0) {
// $("#gene_dropdown").val($("#gene_dropdown option:eq(1)").val());
// updateFilter(s2);
// updateSpecimen();
// }
// if ($('#organ_dropdown').val().length == 0) {
// $("#organ_dropdown").val($("#organ_dropdown option:eq(1)").val());
// updateFilter(s3);
// updateSpecimen();
// }
// if ($('#experiment_dropdown').val().length == 0) {
// $("#experiment_dropdown").val($("#experiment_dropdown option:eq(1)").val());
// updateFilter(s4);
// updateSpecimen();
// }

}

function show_table() {
Expand Down Expand Up @@ -622,7 +605,7 @@ jQuery(function ($) {
}

content += "'><input type='radio' name='options' ";
content += "value='" + data.items[i].number + "'> " + data.items[i].spec;
content += "value='" + data.items[i].number + "'> ";

if (data.items[i].sex) {
content += " <i class='fas fa-mars'></i> ";
Expand Down

0 comments on commit 1045060

Please sign in to comment.