diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-10-18 15:51:47 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-10-18 15:51:47 +0200 |
commit | a0b7a0efaf4f7fcab30ca43a64c79abf34513c5a (patch) | |
tree | a5bab96078686aa1334f74fb1a44c91f616d61fe /lib/scripts/edit.js | |
parent | 51c3797940ae6d1406d02246a63301f0677e741f (diff) | |
download | rpg-a0b7a0efaf4f7fcab30ca43a64c79abf34513c5a.tar.gz rpg-a0b7a0efaf4f7fcab30ca43a64c79abf34513c5a.tar.bz2 |
hide pickers with margin-left - fixes FS#1781
Ignore-this: 51cdec6032a57653543cc2f73f92fa74
darcs-hash:20091018135147-7ad00-7c58d9343250d2d331b820497df6807a71e9b5ef.gz
Diffstat (limited to 'lib/scripts/edit.js')
-rw-r--r-- | lib/scripts/edit.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/scripts/edit.js b/lib/scripts/edit.js index 74dc1b521..86ebb230d 100644 --- a/lib/scripts/edit.js +++ b/lib/scripts/edit.js @@ -65,9 +65,9 @@ function createPicker(id,props,edid){ if(props['class']){ picker.className += ' '+props['class']; } - picker.id = id; - picker.style.position = 'absolute'; - picker.style.left = '-10000px'; // no display none, to keep access keys working + picker.id = id; + picker.style.position = 'absolute'; + picker.style.marginLeft = '-10000px'; // no display none, to keep access keys working for(var key in list){ if (!list.hasOwnProperty(key)) continue; |