fixes #829
This commit is contained in:
@@ -81,7 +81,7 @@
|
|||||||
var ratio = 400.0 / height;
|
var ratio = 400.0 / height;
|
||||||
$image.height(height * ratio);
|
$image.height(height * ratio);
|
||||||
$image.width(width * ratio);
|
$image.width(width * ratio);
|
||||||
$("#scale").html("Scaled " + parseInt(100 * ratio) + "%");
|
$("#scale").html("Scaled " + parseInt(100 * ratio) + "% (original: " + width + "x" + height + ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
- post
|
- post
|
||||||
-->
|
-->
|
||||||
<% if post %>
|
<% if post %>
|
||||||
<p>This post was probably already uploaded (<%= link_to "post ##{post.id}", post_path(post), :target => "_blank" %>).</p>
|
<h2 style="margin-bottom: 1em;">This post was probably already uploaded (<%= link_to "post ##{post.id}", post_path(post), :target => "_blank" %>)</h2>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user