projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync
[roojs1]
/
Roo
/
Resizable.js
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){