<!DOCTYPE html>
<html>
  <head>
    <%= javascript_include_tag "webcomponentsjs/webcomponents" unless Rails.env.test? %>

    <title>The Open Journal</title>

    <%= stylesheet_link_tag    "application", media: "all"%>
    <%= html_import_tag "application" %>

    <%= javascript_include_tag "application" %>

    <script charset="utf-8" src='/pdf.js'></script>
    <script charset="utf-8" src="https://vivin.net/pub/pdfjs/textlayerbuilder.js"></script>
    <%= csrf_meta_tags %>
  </head>
<body unresolved fullbleed>

<%= yield %>
<%= render 'layouts/flash' %>

</body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <%= javascript_include_tag "webcomponentsjs/webcomponents" unless Rails.env.test? %>

    <title>The Open Journal</title>

    <%= stylesheet_link_tag    "application", media: "all"%>
    <%= html_import_tag "application" %>

    <%= javascript_include_tag "application" %>

    <script charset="utf-8" src='/pdf.js'></script>
    <script charset="utf-8" src="http://vivin.net/pub/pdfjs/textlayerbuilder.js"></script>
    <%= csrf_meta_tags %>
  </head>
<body unresolved fullbleed>

<%= yield %>
<%= render 'layouts/flash' %>

</body>
</html>

Load textlayerbuilder over http instead of https to get rid of errors.
Load textlayerbuilder over http instead of https to get rid of errors.
