Code

collection.js: use unicode escape instead of UTF8 as it is sent with no charset header
authorWilliam Shallum <william@shallum.net>
Thu, 18 Aug 2011 14:37:37 +0000 (14:37 +0000)
committerWilliam Shallum <william@shallum.net>
Thu, 18 Aug 2011 14:38:19 +0000 (14:38 +0000)
share/collection.js

index 141acbda9f98e6595683b8374da0e6997dfb2a34..158a36ec9e07defba3c787903c66e2633dc26dcd 100644 (file)
@@ -686,10 +686,10 @@ $(document).ready(function() {
         + "<div class=\"graph-button\" onClick=\"zoom_reference ('"+id+"');\">!</div>"
         + "</div>"
         + "<div class=\"graph-buttons navigation\">"
-        + "<div class=\"graph-button\" onClick=\"zoom_earlier ('"+id+"');\"></div>"
-        + "<div class=\"graph-button\" onClick=\"zoom_out     ('"+id+"');\"></div>"
+        + "<div class=\"graph-button\" onClick=\"zoom_earlier ('"+id+"');\">\u2190</div>"
+        + "<div class=\"graph-button\" onClick=\"zoom_out     ('"+id+"');\">\u2212</div>"
         + "<div class=\"graph-button\" onClick=\"zoom_in      ('"+id+"');\">+</div>"
-        + "<div class=\"graph-button\" onClick=\"zoom_later   ('"+id+"');\"></div>"
+        + "<div class=\"graph-button\" onClick=\"zoom_later   ('"+id+"');\">\u2192</div>"
         + "</div>"
         );
     });