Skip to content

Commit

Permalink
Apply bug fix #126
Browse files Browse the repository at this point in the history
  • Loading branch information
nyroDev committed Oct 21, 2012
1 parent e5e8895 commit d5da144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.nyroModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ jQuery(function($, undefined) {
var cur = $('<div>'+html+'</div>').find(selector);
if (cur.length) {
html = cur.html()
.replace(/<pre class="?nyroModalScript"? rel="?(.?)"?><\/pre>/gi, function(x, y, z) { return tmp[y]; })
.replace(/<pre class="?nyroModalScript"? rel="?([0-9]*)"?><\/pre>/gi, function(x, y, z) { return tmp[y]; })
.replace(/nyroModalLN/gi, "\r\n");
} else {
// selector not found
Expand Down

0 comments on commit d5da144

Please sign in to comment.