diff --git a/IPython/frontend/html/notebook/static/less/notebook.less b/IPython/frontend/html/notebook/static/less/notebook.less
index 6c9a0d54f..ee85e4f42 100644
--- a/IPython/frontend/html/notebook/static/less/notebook.less
+++ b/IPython/frontend/html/notebook/static/less/notebook.less
@@ -469,7 +469,7 @@ margin-bottom:0;
}
-a.heading-anchor:link {
+a.heading-anchor:link, a.heading-anchor:visited {
text-decoration: none;
color: inherit;
}