Skip to content

Commit 43a8828

Browse files
committed
update fb-url-forjs
1 parent 8949076 commit 43a8828

20 files changed

+20
-20
lines changed

docs/document.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ <h2>For Chinese users<a class="headerlink" href="#for-chinese-users" title="Perm
232232
</div>
233233
</footer>
234234
<script type="text/javascript">
235-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
235+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
236236
(function(d, s, id) {
237237
var js, fjs = d.getElementsByTagName(s)[0];
238238
if (d.getElementById(id)) return;

docs/en/faq.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ <h1>FAQ<a class="headerlink" href="#faq" title="Permalink to this headline">¶</
134134
</div>
135135
</footer>
136136
<script type="text/javascript">
137-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
137+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
138138
(function(d, s, id) {
139139
var js, fjs = d.getElementsByTagName(s)[0];
140140
if (d.getElementById(id)) return;

docs/en/guide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ <h1>Contributors’ Guide<a class="headerlink" href="#contributors-guide" title=
302302
</div>
303303
</footer>
304304
<script type="text/javascript">
305-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
305+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
306306
(function(d, s, id) {
307307
var js, fjs = d.getElementsByTagName(s)[0];
308308
if (d.getElementById(id)) return;

docs/en/guide_androidhelpers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3648,7 +3648,7 @@ <h2>APIs<a class="headerlink" href="#apis" title="Permalink to this headline">¶
36483648
</div>
36493649
</footer>
36503650
<script type="text/javascript">
3651-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
3651+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
36523652
(function(d, s, id) {
36533653
var js, fjs = d.getElementsByTagName(s)[0];
36543654
if (d.getElementById(id)) return;

docs/en/guide_contributors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ <h1>How to sponsor QPython project<a class="headerlink" href="#how-to-sponsor-qp
182182
</div>
183183
</footer>
184184
<script type="text/javascript">
185-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
185+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
186186
(function(d, s, id) {
187187
var js, fjs = d.getElementsByTagName(s)[0];
188188
if (d.getElementById(id)) return;

docs/en/guide_contributors_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ <h1>Feedback<a class="headerlink" href="#feedback" title="Permalink to this head
162162
</div>
163163
</footer>
164164
<script type="text/javascript">
165-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
165+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
166166
(function(d, s, id) {
167167
var js, fjs = d.getElementsByTagName(s)[0];
168168
if (d.getElementById(id)) return;

docs/en/guide_developers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ <h1>QPY.IO (Enterprise service)<a class="headerlink" href="#qpy-io-enterprise-se
215215
</div>
216216
</footer>
217217
<script type="text/javascript">
218-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
218+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
219219
(function(d, s, id) {
220220
var js, fjs = d.getElementsByTagName(s)[0];
221221
if (d.getElementById(id)) return;

docs/en/guide_extend.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ <h2>QPY.IO<a class="headerlink" href="#qpy-io" title="Permalink to this headline
244244
</div>
245245
</footer>
246246
<script type="text/javascript">
247-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
247+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
248248
(function(d, s, id) {
249249
var js, fjs = d.getElementsByTagName(s)[0];
250250
if (d.getElementById(id)) return;

docs/en/guide_helloworld.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ <h2>More samples<a class="headerlink" href="#more-samples" title="Permalink to t
216216
</div>
217217
</footer>
218218
<script type="text/javascript">
219-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
219+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
220220
(function(d, s, id) {
221221
var js, fjs = d.getElementsByTagName(s)[0];
222222
if (d.getElementById(id)) return;

docs/en/guide_howtostart.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ <h2>5. Community<a class="headerlink" href="#community" title="Permalink to this
213213
</div>
214214
</footer>
215215
<script type="text/javascript">
216-
$('.fb-comments').attr('data-href', window.location.href.split('?')[0])
216+
$('.fb-comments').attr('data-href', (window.location.href.split('#')[0]).split('?')[0])
217217
(function(d, s, id) {
218218
var js, fjs = d.getElementsByTagName(s)[0];
219219
if (d.getElementById(id)) return;

0 commit comments

Comments
 (0)