added more import code in ui.

some jshint cleanup.
This commit is contained in:
kay.one 2013-01-29 22:52:31 -08:00
parent 572ef0743c
commit c511292abe
15 changed files with 112 additions and 91 deletions

View file

@ -19,13 +19,13 @@ NzbDrone.Shared.NotificationModel = Backbone.Model.extend({
return "icon";
}
if (this.get('level') == 'info') {
if (this.get('level') === 'info') {
return "icon-info-sign";
}
else if (this.get('level') == 'success') {
else if (this.get('level') === 'success') {
return 'icon-ok-sign';
}
else if (this.get('level') == 'error') {
else if (this.get('level') === 'error') {
return 'icon-warning-sign';
}