diff --git a/IPython/html/static/notebook/js/menubar.js b/IPython/html/static/notebook/js/menubar.js
index f91435e..13b63b6 100644
--- a/IPython/html/static/notebook/js/menubar.js
+++ b/IPython/html/static/notebook/js/menubar.js
@@ -169,11 +169,13 @@ define([
this.events.on('trust_changed.Notebook', function (event, trusted) {
if (trusted) {
that.element.find('#trust_notebook')
- .addClass("disabled")
+ .addClass("disabled").off('click')
.find("a").text("Trusted Notebook");
} else {
that.element.find('#trust_notebook')
- .removeClass("disabled")
+ .removeClass("disabled").on('click', function () {
+ that.notebook.trust_notebook();
+ })
.find("a").text("Trust Notebook");
}
if(event)event.preventDefault();