Skip to content

Commit

Permalink
Merge pull request #2231 from drgrice1/remove-unused
Browse files Browse the repository at this point in the history
Remove the javascript for the "Site Description" buttons.
  • Loading branch information
Alex-Jordan authored Oct 22, 2023
2 parents ab7cfef + d7847ba commit 1762458
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 19 deletions.
10 changes: 0 additions & 10 deletions htdocs/js/ShowHide/show_hide.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
% use WeBWorK::Utils qw(getAssetURL);
%
% content_for js => begin
<%= javascript getAssetURL($ce, 'js/ShowHide/show_hide.js'), defer => undef =%>
<%= javascript getAssetURL($ce, 'js/ActionTabs/actiontabs.js'), defer => undef =%>
<%= javascript getAssetURL($ce, 'js/SelectAll/selectall.js'), defer => undef =%>
% end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<%= javascript getAssetURL($ce, 'js/DatePicker/datepicker.js'), defer => undef =%>
<%= javascript getAssetURL($ce, 'js/ActionTabs/actiontabs.js'), defer => undef =%>
<%= javascript getAssetURL($ce, 'js/ProblemSetList/problemsetlist.js'), defer => undef =%>
<%= javascript getAssetURL($ce, 'js/ShowHide/show_hide.js'), defer => undef =%>
<%= javascript getAssetURL($ce, 'js/SelectAll/selectall.js'), defer => undef =%>
% end
%
Expand Down
6 changes: 0 additions & 6 deletions templates/ContentGenerator/Instructor/ShowAnswers.html.ep
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
% use WeBWorK::Utils qw(getAssetURL);
%
% content_for js => begin
<%= javascript getAssetURL($ce, 'js/ShowHide/show_hide.js'), defer => undef =%>
% end
%
% unless ($authz->hasPermissions(param('user'), 'view_answers')) {
<div class="alert alert-danger p-1 mb-0"><%= maketext('You are not authorized to view past answers') %></div>
% last;
Expand Down
1 change: 0 additions & 1 deletion templates/ContentGenerator/Instructor/UserList.html.ep
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
% use WeBWorK::Utils qw(getAssetURL);
%
% content_for js => begin
<%= javascript getAssetURL($ce, 'js/ShowHide/show_hide.js'), defer => undef =%>
<%= javascript getAssetURL($ce, 'js/ActionTabs/actiontabs.js'), defer => undef =%>
<%= javascript getAssetURL($ce, 'js/UserList/userlist.js'), defer => undef =%>
<%= javascript getAssetURL($ce, 'js/SelectAll/selectall.js'), defer => undef =%>
Expand Down

0 comments on commit 1762458

Please sign in to comment.