Skip to content

Commit

Permalink
Remove jquery where we don't need it
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne authored and thatbudakguy committed Jan 31, 2025
1 parent f1c5bb1 commit d46fedd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions app/views/embed/iiif.html.erb
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"></script>
<script>
<%= 'if (window.jQuery) { jQuery.fx.off = true; }' if Rails.env.test? %>
</script>
<style>
#sul-embed-object {
position: absolute;
Expand Down
3 changes: 0 additions & 3 deletions app/views/layouts/preview/media.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"></script>
<%= stylesheet_link_tag 'media.css' %>
<%= stylesheet_link_tag 'sul_icons.css' %>
<%= javascript_importmap_tags 'media' %>
Expand Down
3 changes: 0 additions & 3 deletions app/views/layouts/preview/pdf.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"></script>
<%= stylesheet_link_tag 'companion_window.css' %>
<%= stylesheet_link_tag 'sul_icons.css' %>
<%= javascript_importmap_tags 'document' %>
Expand Down

0 comments on commit d46fedd

Please sign in to comment.