1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

edit ditto.js

This commit is contained in:
ruanyf 2014-04-26 09:32:55 +08:00
parent b4f35c2d66
commit 608a06b536

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_title =$(ditto.content_id+" h1").text();
window.disqus_url = 'http://es6.ruanyifeng.com/' + location.hash?location.hash.replace("#", ""):'index';
window.disqus_identifier = (location.hash?location.hash.replace("#", ""):'index');
window.disqus_title =$(ditto.content_id+" h1").text();
window.disqus_url = 'http://es6.ruanyifeng.com/' + (location.hash?location.hash.replace("#", ""):'index');
// http://docs.disqus.com/developers/universal/
(function() {