edit ditto.js

This commit is contained in:
ruanyf
2014-04-26 09:36:22 +08:00
parent 608a06b536
commit 92d99645f8
+2 -2
View File
@@ -203,9 +203,9 @@ function router() {
function loadDisqus() {
// http://docs.disqus.com/help/2/
window.disqus_shortname = 'es6';
window.disqus_identifier = (location.hash?location.hash.replace("#", ""):'index');
window.disqus_identifier = (location.hash?location.hash.replace("#", ""):'READEME');
window.disqus_title =$(ditto.content_id+" h1").text();
window.disqus_url = 'http://es6.ruanyifeng.com/' + (location.hash?location.hash.replace("#", ""):'index');
window.disqus_url = 'http://es6.ruanyifeng.com/' + (location.hash?location.hash.replace("#", ""):'README');
// http://docs.disqus.com/developers/universal/
(function() {