diff --git a/src/vs/workbench/parts/html/browser/webview.html b/src/vs/workbench/parts/html/browser/webview.html
index 7b19da6dede..52709138629 100644
--- a/src/vs/workbench/parts/html/browser/webview.html
+++ b/src/vs/workbench/parts/html/browser/webview.html
@@ -88,10 +88,9 @@
let node = event.target;
while (node) {
if (node.tagName === 'A' && node.href) {
- console.log(node.href);
if (${isLocal}) {
let scrollTarget = window.document.getElementById(node.hash.substr(1, node.hash.length - 1));
- if (scrollTagret) {
+ if (scrollTarget) {
scrollTarget.scrollIntoView();
}
} else {