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