Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/webweaver/facebox into webw…
Browse files Browse the repository at this point in the history
…eaver/master
  • Loading branch information
defunkt committed Jun 19, 2008
2 parents cd13d9a + 3211367 commit 4bf7a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebox.js
Expand Up @@ -184,7 +184,7 @@
makeCompatible()

var imageTypes = $.facebox.settings.imageTypes.join('|')
$.facebox.settings.imageTypesRegexp = new RegExp('\.' + imageTypes + '$', 'i')
$.facebox.settings.imageTypesRegexp = new RegExp('\.(' + imageTypes + ')$', 'i')

if (settings) $.extend($.facebox.settings, settings)
$('body').append($.facebox.settings.faceboxHtml)
Expand Down

0 comments on commit 4bf7a39

Please sign in to comment.