Skip to content

Commit

Permalink
Remove unused(?) Scriptaculous Effect.toggle calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfb committed Dec 11, 2024
1 parent 65334f5 commit 9db2256
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/editor.sass.erb
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,6 @@ styled_button_show
a
color: black

.headinglink
font-size: medium
font-weight: bold

.greek
font-size: small
font-family: "Lucida Grande", "IFAO-Grec Unicode", "Cardo", "Arial Unicode MS", "New Athena Unicode", "Athena Unicode", "Lucida Grande", "Verdana", "Tahoma"
Expand Down
6 changes: 3 additions & 3 deletions app/views/user/usage_stats.haml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
= hidden_field_tag 'save_user_id', user.id

%br
%a{ :href => "#", :onclick => "Effect.toggle('vote_list_#{user.id}', 'blind'); return false;", :class => "headinglink"} Votes
%h3 Votes
- if @votes.length > 0
= render :partial => "usage_detail", :locals => { :user => user, :comments => @votes, :type => 'vote'}

%br
%a{ :href => "#", :onclick => "Effect.toggle('submission_list_#{user.id}', 'blind'); return false;", :class => "headinglink"} Submissions
%h3 Submissions
- if @submits.length > 0
= render :partial => "usage_detail", :locals => { :user => user, :comments => @submits, :type => 'submission'}

%br
%a{ :href => "#", :onclick => "Effect.toggle('final_list_#{user.id}', 'blind'); return false;", :class => "headinglink"} Finalized
%h3 Finalized
- if @finalizings.length > 0
= render :partial => "usage_detail", :locals => { :user => user, :comments => @finalizings, :type => 'final'}

Expand Down

0 comments on commit 9db2256

Please sign in to comment.