Skip to content

Commit

Permalink
Small Google Preview bugfix.
Browse files Browse the repository at this point in the history
Still needs JS work.
  • Loading branch information
bamnet committed Dec 23, 2011
1 parent ced836e commit a91c4d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/documents/_google_viewer.html.erb
Expand Up @@ -3,7 +3,7 @@
<div class="flush">
<div id="qv">
<div id="qv-padding">
<% content_for :head do %>
<% content_for :NULL_head do %>
<%= stylesheet_link_tag "jquery.fancybox-1.3.1", :media => 'all' %>
<%= javascript_include_tag "jquery.easing-1.3.pack.js" %>
<%= javascript_include_tag "jquery.fancybox-1.3.1.pack.js" %>
Expand All @@ -29,7 +29,7 @@
</script>
<% end %>
<h1>
<% link_to "http://docs.google.com/viewer?embedded=true&url=#{ download_document_revision_path(@document, 'current', :only_path => false) }", :id => 'docview' do %>
<%= link_to "http://docs.google.com/viewer?embedded=true&url=#{ download_document_revision_path(@document, 'current', :only_path => false) }", :id => 'docview' do %>
<%= image_tag("layout/qv_icon.png", :alt => "") %> View Live Preview
<% end %>
</h1>
Expand Down

0 comments on commit a91c4d2

Please sign in to comment.