diff --git a/Gemfile.lock b/Gemfile.lock index ecfaef70f..e121fdb4e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -136,7 +136,7 @@ GEM activesupport (>= 3.0.0) uniform_notifier (~> 1.11.0) byebug (9.1.0) - capybara (2.17.0) + capybara (2.18.0) addressable mini_mime (>= 0.1.3) nokogiri (>= 1.3.3) @@ -220,8 +220,6 @@ GEM ffi (1.9.18) figaro (1.1.1) thor (~> 0.14) - font-awesome-rails (4.7.0.3) - railties (>= 3.2, < 5.2) gherkin (5.0.0) globalid (0.4.1) activesupport (>= 4.2.0) @@ -299,7 +297,7 @@ GEM rails (>= 3.2.0) newrelic_rpm (4.7.1.340) nio4r (2.2.0) - nokogiri (1.8.1) + nokogiri (1.8.2) mini_portile2 (~> 2.3.0) nokogumbo (1.4.13) nokogiri @@ -345,9 +343,9 @@ GEM pry (~> 0.10) pry-rails (0.3.6) pry (>= 0.10.4) - public_suffix (3.0.1) + public_suffix (3.0.2) puma (3.11.2) - rack (2.0.3) + rack (2.0.4) rack-test (0.6.3) rack (>= 1.0) rails (5.1.1) @@ -555,7 +553,6 @@ DEPENDENCIES factory_bot_rails faker figaro - font-awesome-rails (~> 4.7.0.2) hammerjs-rails i18n-js (~> 3.0) introjs-rails diff --git a/app/assets/javascripts/sitewide/file_preview.js b/app/assets/javascripts/sitewide/file_preview.js index c87d52565..a02442d85 100644 --- a/app/assets/javascripts/sitewide/file_preview.js +++ b/app/assets/javascripts/sitewide/file_preview.js @@ -5,7 +5,7 @@ var name; var url; var downloadUrl; - $('.file-preview-link').off(); + $('.file-preview-link').off('click'); $('.file-preview-link').click(function(e) { e.preventDefault(); name = $(this).find('p').text();