projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b595422
)
Roo/Resizable.js
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:48:32 +0000
(17:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:48:32 +0000
(17:48 +0800)
Roo/Resizable.js
patch
|
blob
|
history
diff --git
a/Roo/Resizable.js
b/Roo/Resizable.js
index
7d79709
..
b0fb9f3
100644
(file)
--- a/
Roo/Resizable.js
+++ b/
Roo/Resizable.js
@@
-346,7
+346,9
@@
Roo.extend(Roo.Resizable, Roo.util.Observable, {
// private
snap : function(value, inc, min){
- if(!inc || !value) return value;
+ if(!inc || !value) {
+ return value;
+ }
var newValue = value;
var m = value % inc;
if(m > 0){