mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
added gif and ico to supported formats
This commit is contained in:
parent
af20556273
commit
7e6bed4fda
1 changed files with 4 additions and 3 deletions
|
|
@ -81,9 +81,10 @@ CloudCommander.Viewer.FancyBox.set = (function(){
|
|||
for (var i=2; i < lA.length; i++) {
|
||||
lName = lA[i].title || lA[i].textContent;
|
||||
|
||||
CloudFunc.checkExtension(lName,['png','jpg']) &&
|
||||
(lA[i].className = 'fancybox') &&
|
||||
(lA[i].rel = 'gallery');
|
||||
CloudFunc.checkExtension(lName,
|
||||
['png','jpg', 'gif','ico']) &&
|
||||
(lA[i].className = 'fancybox') &&
|
||||
(lA[i].rel = 'gallery');
|
||||
}
|
||||
|
||||
$('.fancybox').fancybox(this.getConfig());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue