diff options
Diffstat (limited to 'lib/scripts/edit.js')
-rw-r--r-- | lib/scripts/edit.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/scripts/edit.js b/lib/scripts/edit.js index 215e647b5..acf612217 100644 --- a/lib/scripts/edit.js +++ b/lib/scripts/edit.js @@ -61,7 +61,10 @@ function createPicker(id,props,edid){ // create the wrapping div var picker = document.createElement('div'); - picker.className = 'picker '+props['class']; + picker.className = 'picker'; + if(props['class']){ + picker.className += ' '+props['class']; + } picker.id = id; picker.style.position = 'absolute'; picker.style.display = 'none'; |