diff --git a/ui/scripts/ui/core.js b/ui/scripts/ui/core.js index ca087cc3261..fab46d296b8 100644 --- a/ui/scripts/ui/core.js +++ b/ui/scripts/ui/core.js @@ -246,13 +246,13 @@ // User options var $options = $('
').attr({ id: 'user-options' }) .appendTo($('#header')); - $(['Logout', 'Help']).each(function() { + $(['label.logout', 'label.help']).each(function() { var $link = $('') .attr({ href: '#' }) .html(_l(this.toString())) .appendTo($options); - if (this == 'Help') { + if (this == 'label.help') { $link.click(function() { var helpURL = 'http://docs.cloud.com/CloudStack_Documentation';