adding gif support
This commit is contained in:
parent
f11a481ed7
commit
c711e85c89
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
var uploader = new qq.FileUploader({
|
||||
element: document.getElementById('file-upload'),
|
||||
params: {'album_id' : "#{@album.id}"},
|
||||
allowedExtensions: ['jpg', 'jpeg', 'png'],
|
||||
allowedExtensions: ['jpg', 'jpeg', 'png', 'gif'],
|
||||
action: "#{photos_path}"
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue