diff --git a/app/assets/javascripts/repositories/repository_datatable.js b/app/assets/javascripts/repositories/repository_datatable.js index 63a2008a2..29ac01174 100644 --- a/app/assets/javascripts/repositories/repository_datatable.js +++ b/app/assets/javascripts/repositories/repository_datatable.js @@ -90,8 +90,8 @@ var RepositoryDatatable = (function(global) { $('#editDeleteCopy').show(); $('#toolbarPrintLabel').show(); } - $("#team-switch").css({"pointer-events":"visible", "opacity":"1"}); - $("#navigationGoBtn").prop('disabled', false); + $("#team-switch").css({ 'pointer-events': 'visible', opacity: 1 }); + $('#navigationGoBtn').prop('disabled', false); } else if (currentMode === 'editMode') { $(TABLE_WRAPPER_ID).addClass('editing'); $('.repository-save-changes-link').on('click', function() { @@ -121,8 +121,8 @@ var RepositoryDatatable = (function(global) { $('.dataTables_filter input').prop('disabled', true); $('#toolbarPrintLabel').hide(); $('.repository-edit-overlay').show(); - $("#team-switch").css({"pointer-events":"none", "opacity":"0.6"}); - $("#navigationGoBtn").prop('disabled', true); + $("#team-switch").css({ 'pointer-events': 'none', opacity: 0.6 }); + $('#navigationGoBtn').prop('disabled', true); } }