fixed code according to hound styling comments

This commit is contained in:
Giga Chubinidze 2022-11-23 16:05:56 +04:00
parent 47d593f0db
commit 3b8a58b7db

View file

@ -90,8 +90,8 @@ var RepositoryDatatable = (function(global) {
$('#editDeleteCopy').show(); $('#editDeleteCopy').show();
$('#toolbarPrintLabel').show(); $('#toolbarPrintLabel').show();
} }
$("#team-switch").css({"pointer-events":"visible", "opacity":"1"}); $("#team-switch").css({ 'pointer-events': 'visible', opacity: 1 });
$("#navigationGoBtn").prop('disabled', false); $('#navigationGoBtn').prop('disabled', false);
} else if (currentMode === 'editMode') { } else if (currentMode === 'editMode') {
$(TABLE_WRAPPER_ID).addClass('editing'); $(TABLE_WRAPPER_ID).addClass('editing');
$('.repository-save-changes-link').on('click', function() { $('.repository-save-changes-link').on('click', function() {
@ -121,8 +121,8 @@ var RepositoryDatatable = (function(global) {
$('.dataTables_filter input').prop('disabled', true); $('.dataTables_filter input').prop('disabled', true);
$('#toolbarPrintLabel').hide(); $('#toolbarPrintLabel').hide();
$('.repository-edit-overlay').show(); $('.repository-edit-overlay').show();
$("#team-switch").css({"pointer-events":"none", "opacity":"0.6"}); $("#team-switch").css({ 'pointer-events': 'none', opacity: 0.6 });
$("#navigationGoBtn").prop('disabled', true); $('#navigationGoBtn').prop('disabled', true);
} }
} }