Skip to content

Commit

Permalink
Merge pull request #490 from UCLALibrary/URS-495_Update-JQuery
Browse files Browse the repository at this point in the history
Update jQuery to secure version
  • Loading branch information
jendiamond authored Oct 30, 2019
2 parents ad9a74b + 0f68be2 commit 2aeb067
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ gem 'devise-guests', '~> 0.7', '>= 0.7.0'
gem 'flipflop'
gem 'font-awesome-rails', '~> 4.7', '>= 4.7.0.2'
gem 'httparty'
gem 'jquery-rails'
gem 'jquery-rails', '~> 4.3', '>= 4.3.1'
gem 'loofah', '>= 2.2.3'
gem 'rsolr', '>= 1.0'
gem 'solrizer'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ DEPENDENCIES
flipflop
font-awesome-rails (~> 4.7, >= 4.7.0.2)
httparty
jquery-rails
jquery-rails (~> 4.3, >= 4.3.1)
listen (>= 3.0.5, < 3.2)
loofah (>= 2.2.3)
mysql2 (~> 0.5)
Expand Down
4 changes: 2 additions & 2 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require rails-ujs
//= require turbolinks
//

//= require tether
// Required by Blacklight
//= require jquery
//= require jquery3
//= require jquery_ujs
//= require popper
//= require bootstrap
//= require blacklight/blacklight
Expand Down
2 changes: 1 addition & 1 deletion app/views/catalog/_index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<% doc_presenter.fields_to_render.each do | field_name, field | -%>
<dt class="blacklight-<%= field_name.parameterize %> col-md-3"><%= render_index_field_label document, field: field_name %></dt>
<dd class="blacklight-<%= field_name.parameterize %> col-md-9"><%= doc_presenter.field_value field %></dd>
<% if field_name = "Description" %>
<% if field_name == "Description" %>
<dt class="blacklight-<%= field_name.parameterize %> col-md-3"></dt>
<dd class="blacklight-<%= field_name.parameterize %> col-md-9">&nbsp;&nbsp;&nbsp;</dd>
<% end %>
Expand Down

0 comments on commit 2aeb067

Please sign in to comment.