diff --git a/IPython/html/static/notebook/js/menubar.js b/IPython/html/static/notebook/js/menubar.js
index c65d33da9..270ba3852 100644
--- a/IPython/html/static/notebook/js/menubar.js
+++ b/IPython/html/static/notebook/js/menubar.js
@@ -394,10 +394,12 @@ define([
.attr('target', '_blank')
.attr('title', 'Opens in a new window')
.attr('href', link.url)
- .text(link.text)
.append($("")
.addClass("fa fa-external-link menu-icon pull-right")
)
+ .append($("")
+ .text(link.text)
+ )
)
);
cursor = cursor.next();