Skip to content

Commit

Permalink
Removing unused css
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-tii committed Nov 29, 2024
1 parent 930800e commit 046139e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion amd/build/open_viewer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion amd/build/open_viewer.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion amd/src/open_viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ define(['jquery',
},
success: function() {
var requestDuration = new Date().getTime() - refreshStartTime;
if (requestDuration < 3000 || !$('.turnitin_score_refresh_alert').length) {
if (requestDuration < 3000) {
window.location = window.location + '';
} else {
Notification.addNotification({
Expand Down
10 changes: 1 addition & 9 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

.tii_links_container .launch_form, .tii_links_container .useragreement_form, .tii_links_container .turnitin_submit_error,
.tii_links_container .turnitin_eula_link, .tii_links_container #useragreement_form form, .tii_links_container .hidden,
.tii_links_container .cmid, .tii_links_container .userid, #turnitin_score_refresh_alert, .plagiarism_submission, .pp_turnitin_cmid, .tii_useragreement_form,
.tii_links_container .cmid, .tii_links_container .userid, .plagiarism_submission, .pp_turnitin_cmid, .tii_useragreement_form,
#tii_view_context, .tii_links_container .grademark_forum_launch, .tii_links_container .origreport_forum_launch {
display:none;
}
Expand Down Expand Up @@ -320,14 +320,6 @@ button.pp-resubmit-files {
margin-bottom: 16px;
}

#turnitin_score_refresh_alert {
margin-top: 16px;
border: 1px solid #6FCAFF;
background: #BBE6FF;
padding: 10px;
margin-bottom: 16px;
}

iframe html{background:none;}

.selectlong {
Expand Down

0 comments on commit 046139e

Please sign in to comment.