diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-12-08 12:41:02 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-12-08 12:46:08 +0100 |
commit | 0a3a9ea2a47fe09082d9079fdc89a2a025de79e2 (patch) | |
tree | 9d04bce0eb435adf9a79ea360727798b5b6c4b97 /server/sonar-web/src/main/js/components/common/modals.js | |
parent | 1a45e47fdeca85e1884775243187e32ab294c8e3 (diff) | |
download | sonarqube-0a3a9ea2a47fe09082d9079fdc89a2a025de79e2.tar.gz sonarqube-0a3a9ea2a47fe09082d9079fdc89a2a025de79e2.zip |
improve code quality
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.js | 4 |
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({ }); } }); - - |