* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Update script.js
This commit is contained in:
Andrew Chen
2017-06-27 10:01:56 -07:00
+1 -1
View File
@@ -35,7 +35,7 @@ function copyCode(elem){
sweetAlert("Oh, no...","Sorry, your browser doesn't support document.execCommand('copy'), so we can't copy this code to your clipboard.");
succeed = false;
}
if (succeed) sweetAlert("Copied to clipboard:",target.value);
if (succeed) sweetAlert("Copied to clipboard: ",elem);
return succeed;
} else {
sweetAlert("Oops!",elem + " not found when trying to copy code");