File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -203,9 +203,9 @@ function router() {
203203 function loadDisqus ( ) {
204204 // http://docs.disqus.com/help/2/
205205 window . disqus_shortname = 'es6' ;
206- window . disqus_identifier = location . hash ?location . hash . replace ( "#" , "" ) :'index' ;
207- // window.disqus_title =$(ditto.content_id+" h1").text();
208- window . disqus_url = 'http://es6.ruanyifeng.com/' + location . hash ?location . hash . replace ( "#" , "" ) :'index' ;
206+ window . disqus_identifier = ( location . hash ?location . hash . replace ( "#" , "" ) :'index' ) ;
207+ window . disqus_title = $ ( ditto . content_id + " h1" ) . text ( ) ;
208+ window . disqus_url = 'http://es6.ruanyifeng.com/' + ( location . hash ?location . hash . replace ( "#" , "" ) :'index' ) ;
209209
210210 // http://docs.disqus.com/developers/universal/
211211 ( function ( ) {
You can’t perform that action at this time.
0 commit comments