Permalink
Browse files

Apply bug fix #126

  • Loading branch information...
1 parent e5e8895 commit d5da14458ef0b44a3216abf43384b42f9a79c5be @nyroDev committed Oct 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.nyroModal.js
@@ -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

0 comments on commit d5da144

Please sign in to comment.