aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/common/modals.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/common/modals.js')
-rw-r--r--server/sonar-web/src/main/js/components/common/modals.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/components/common/modals.js b/server/sonar-web/src/main/js/components/common/modals.js
index 931ca8e4604..8117b096937 100644
--- a/server/sonar-web/src/main/js/components/common/modals.js
+++ b/server/sonar-web/src/main/js/components/common/modals.js
@@ -26,7 +26,7 @@ export default Marionette.ItemView.extend({
return false;
});
this.show();
- if (!!this.options.large) {
+ if (this.options.large) {
this.$el.addClass('modal-large');
}
},
@@ -70,5 +70,3 @@ export default Marionette.ItemView.extend({
});
}
});
-
-