diff options
| author | Anmol Agrawal <anmol1771@gmail.com> | 2014-09-29 21:38:42 +0530 |
|---|---|---|
| committer | Anmol Agrawal <anmol1771@gmail.com> | 2014-09-29 21:38:42 +0530 |
| commit | 1063b78adc96fb7e585b546708df3eef07349003 (patch) | |
| tree | 5ea29a7bd3953de7dbc52bc52898a22b51f79cc0 /scripts/rhizicore.js | |
| parent | 89e36128a20d68ed3c4f5af86a2bd3df57505818 (diff) | |
change #2 to issue #74
Diffstat (limited to 'scripts/rhizicore.js')
| -rw-r--r-- | scripts/rhizicore.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 70adfc3b..f8bf53ed 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -1064,3 +1064,8 @@ function customSize(type) { } return size; } + +function Expand(obj){ + if (!obj.savesize) obj.savesize=obj.size; + obj.size=Math.max(obj.savesize,obj.value.length); +} |
