Permalink
Browse files

Fix imageregex. #216

  • Loading branch information...
1 parent 5348202 commit 0f97d928849c52ee73455813201bb60decfb97c5 @nyroDev committed Oct 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.nyroModal.js
@@ -72,7 +72,7 @@ jQuery(function($, undefined) {
ajax: {}, // Ajax options to be used in link and form filter
// Specific confirguation for image filter
- imageRegex: '[^\.]\.(jpg|jpeg|png|tiff|gif|bmp)\s*$', // Regex used to detect image link
+ imageRegex: '[^\.]\.(jpg|jpeg|png|tiff|gif|bmp)\\s*$', // Regex used to detect image link
selIndicator: 'nyroModalSel', // Value added when a form or Ajax is sent with a filter content

0 comments on commit 0f97d92

Please sign in to comment.