1
0
mirror of https://github.com/golang/go synced 2024-11-05 17:26:11 -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:
Andrew Gerrand 2013-10-30 13:13:42 +11:00
parent 94c387c610
commit 99890b82e7
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}