Skip to content

Commit 0f97d92

Browse files
committed
Fix imageregex. #216
1 parent 5348202 commit 0f97d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.nyroModal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jQuery(function($, undefined) {
7272
ajax: {}, // Ajax options to be used in link and form filter
7373

7474
// Specific confirguation for image filter
75-
imageRegex: '[^\.]\.(jpg|jpeg|png|tiff|gif|bmp)\s*$', // Regex used to detect image link
75+
imageRegex: '[^\.]\.(jpg|jpeg|png|tiff|gif|bmp)\\s*$', // Regex used to detect image link
7676

7777
selIndicator: 'nyroModalSel', // Value added when a form or Ajax is sent with a filter content
7878

0 commit comments

Comments
 (0)