mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(fancybox) add ico
This commit is contained in:
parent
cc7038f253
commit
dbaef834a7
1 changed files with 1 additions and 1 deletions
|
|
@ -765,7 +765,7 @@
|
|||
},
|
||||
|
||||
isImage: function (str) {
|
||||
return isString(str) && str.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i);
|
||||
return isString(str) && str.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i);
|
||||
},
|
||||
|
||||
isSWF: function (str) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue