Skip to content

Commit d5da144

Browse files
committed
Apply bug fix #126
1 parent e5e8895 commit d5da144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.nyroModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jQuery(function($, undefined) {
272272
var cur = $('<div>'+html+'</div>').find(selector);
273273
if (cur.length) {
274274
html = cur.html()
275-
.replace(/<pre class="?nyroModalScript"? rel="?(.?)"?><\/pre>/gi, function(x, y, z) { return tmp[y]; })
275+
.replace(/<pre class="?nyroModalScript"? rel="?([0-9]*)"?><\/pre>/gi, function(x, y, z) { return tmp[y]; })
276276
.replace(/nyroModalLN/gi, "\r\n");
277277
} else {
278278
// selector not found

0 commit comments

Comments
 (0)