# HG changeset patch # User edogawaconan # Date 1381865449 -32400 # Node ID c8757469da391c9e362ad777573602675ba2d549 # Parent 77c157a9e6451cb771d43bf2491a675cf5650fc6 The magic hash was broken. diff -r 77c157a9e645 -r c8757469da39 app/assets/javascripts/zp.formatter.js --- a/app/assets/javascripts/zp.formatter.js Wed Oct 16 04:17:42 2013 +0900 +++ b/app/assets/javascripts/zp.formatter.js Wed Oct 16 04:30:49 2013 +0900 @@ -4,7 +4,7 @@ window.zp.formatter = { raw: function() { return $("#pl pre").text() }, links: function() { return $("#paste-mode a") }, - current: function() { return this.links().filter(".active").attr("href").slice(1) }, + current: function() { return $("#paste-mode .active a").attr("href").slice(1) }, markdown: function() { var area = $("#md div") area.html(marked(this.raw())) diff -r 77c157a9e645 -r c8757469da39 app/views/pastes/show.html.erb --- a/app/views/pastes/show.html.erb Wed Oct 16 04:17:42 2013 +0900 +++ b/app/views/pastes/show.html.erb Wed Oct 16 04:30:49 2013 +0900 @@ -12,7 +12,7 @@