static: fix playground share
Change-Id: I5decba3efb750e32fbc07ac1093cd37a00b65912 Reviewed-on: https://go-review.googlesource.com/36488 Reviewed-by: Chris Broadfoot <cbro@golang.org>
This commit is contained in:
parent
b56ef30191
commit
19c96be7c4
|
@ -440,7 +440,9 @@ function PlaygroundOutput(el) {
|
||||||
if (opts.shareURLEl) {
|
if (opts.shareURLEl) {
|
||||||
shareURL = $(opts.shareURLEl).hide();
|
shareURL = $(opts.shareURLEl).hide();
|
||||||
}
|
}
|
||||||
$(opts.shareEl).click(share);
|
$(opts.shareEl).click(function() {
|
||||||
|
share();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opts.toysEl !== null) {
|
if (opts.toysEl !== null) {
|
||||||
|
|
|
@ -2650,7 +2650,9 @@ function PlaygroundOutput(el) {
|
||||||
if (opts.shareURLEl) {
|
if (opts.shareURLEl) {
|
||||||
shareURL = $(opts.shareURLEl).hide();
|
shareURL = $(opts.shareURLEl).hide();
|
||||||
}
|
}
|
||||||
$(opts.shareEl).click(share);
|
$(opts.shareEl).click(function() {
|
||||||
|
share();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opts.toysEl !== null) {
|
if (opts.toysEl !== null) {
|
||||||
|
|
Loading…
Reference in New Issue