diff --git a/notebook/static/notebook/js/notificationarea.js b/notebook/static/notebook/js/notificationarea.js index c515b5ad5..2a6cc7034 100644 --- a/notebook/static/notebook/js/notificationarea.js +++ b/notebook/static/notebook/js/notificationarea.js @@ -398,15 +398,14 @@ define([ return false; }, {'title':'Javascript enabled for notebook display'}); // don't allow 'Trusted' button to be clicked - $(tnw.selector).attr('disabled', true) - $(tnw.selector).attr('role', 'button') + $(tnw.selector).attr('disabled', true); $(tnw.selector).css('cursor', 'help'); } else { tnw.set_message(i18n.msg._("Not Trusted"), undefined, function() { that.notebook.trust_notebook(); return false; }, {'title':'Javascript disabled for notebook display'}); - $(tnw.selector).attr('role', 'button') + $(tnw.selector).attr('role', 'button'); } }); };