feature(fancybox) add ico

This commit is contained in:
coderaiser 2014-03-13 04:09:11 -04:00
parent cc7038f253
commit dbaef834a7

View file

@ -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) {