Roo/bootstrap/Modal.js
authorAlan Knowles <alan@roojs.com>
Mon, 18 Jan 2021 07:37:02 +0000 (15:37 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 Jan 2021 07:37:02 +0000 (15:37 +0800)
Roo/bootstrap/Modal.js

index 8579f1f..66e78f6 100644 (file)
@@ -181,7 +181,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
     {
         // we will default to modal-body-overflow - might need to remove or make optional later.
         var bdy = {
-                cls : 'modal-body ' + this.fitwindow ? 'overflow-auto' : ''
+                cls : 'modal-body ' + (this.fitwindow ? 'overflow-auto' : '')
                 html : this.html || ''
         };