Improvement of 'I wish this page...'

This commit is contained in:
John Mulhausen
2016-02-11 10:54:08 -08:00
parent cccceafa1d
commit 9d3bfde558
+1 -1
View File
@@ -1672,7 +1672,7 @@ var kub = (function () {
}
function submitWish(textfield) {
window.location.replace("https://github.com/kubernetes/kubernetes.github.io/issues/new?title=I%20wish%20this%20page%20" + textfield.value +"&body=I%20wish%20this%20page%20" + textfield.value + ". URL: " + window.location.href);
window.location.replace("https://github.com/kubernetes/kubernetes.github.io/issues/new?title=I%20wish%20" + window.location.pathname + "%20" + textfield.value + "&body=I%20wish%20" + window.location.pathname + "%20" + textfield.value);
textfield.value = '';
textfield.blur();
}