projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e0dd48
)
Roo/bootstrap/Modal.js
author
john
<john@roojs.com>
Fri, 28 Sep 2018 04:34:53 +0000
(12:34 +0800)
committer
john
<john@roojs.com>
Fri, 28 Sep 2018 04:34:53 +0000
(12:34 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
57f4424
..
e39f801
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-276,7
+276,10
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
if(this.max_width !== 0) {
- var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30);
+ var w = Math.min(
+ this.max_width,
+ Roo.lib.Dom.getViewportWidth(true) - 30
+ );
if(this.height) {
this.setSize(w, this.height);