Skip to content

Commit 7289c06

Browse files
committed
javascript_prepend_span is unused as of 0d5bec4
1 parent 741f9bb commit 7289c06

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/helpers/js_helper.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ def javascript_focus(element)
1818
"$('##{j_str(element)}').focus();".html_safe
1919
end
2020

21-
def javascript_prepend_span(element, cls)
22-
"$('##{j_str(element)}').prepend('#{content_tag(:span, nil, :class => cls)}');".html_safe
23-
end
24-
2521
def javascript_disable_field(element)
2622
"$('##{j_str(element)}').prop('disabled', true);".html_safe
2723
end

0 commit comments

Comments
 (0)