diff app/assets/javascripts/zp.viewer_width.js @ 261:f057e8c78e50

Fix /show.
author edogawaconan <me@myconan.net>
date Tue, 15 Oct 2013 22:40:08 +0900
parents 22c4b5f90e24
children
line wrap: on
line diff
--- a/app/assets/javascripts/zp.viewer_width.js	Tue Oct 15 21:52:08 2013 +0900
+++ b/app/assets/javascripts/zp.viewer_width.js	Tue Oct 15 22:40:08 2013 +0900
@@ -6,7 +6,8 @@
       var
         paste = $("#paste"),
         title = $("#paste-resize .btn")
-      title.text(title.data("base").replace(":size:", width))
+        title_span = $("#width-text")
+      title_span.text(title.data("base").replace(":size:", width))
       this.current = width
       if (width == "auto") {
         paste.css("width", "")