mirror of
https://github.com/golang/go
synced 2024-11-05 17:36:15 -07:00
go.tools/godoc/static: use preferred JS for Google+ buttons
R=bradfitz, dsymonds CC=golang-dev https://golang.org/cl/19070044
This commit is contained in:
parent
94c387c610
commit
99890b82e7
@ -236,7 +236,7 @@ function addPlusButtons() {
|
||||
var po = document.createElement('script');
|
||||
po.type = 'text/javascript';
|
||||
po.async = true;
|
||||
po.src = 'https://apis.google.com/js/plusone.js';
|
||||
po.src = 'https://apis.google.com/js/platform.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(po, s);
|
||||
}
|
||||
|
@ -481,7 +481,7 @@ function addPlusButtons() {
|
||||
var po = document.createElement('script');
|
||||
po.type = 'text/javascript';
|
||||
po.async = true;
|
||||
po.src = 'https://apis.google.com/js/plusone.js';
|
||||
po.src = 'https://apis.google.com/js/platform.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(po, s);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user