Skip to content

Commit 0f97d92

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/jquery.nyroModal.js

Lines changed: 1 addition & 1 deletion
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)