Skip to content

Commit

Permalink
Fix unnecessary padding(vodkabears#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed May 3, 2014
2 parents 278a76c + e1c2431 commit 117bec5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.remodal.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
}
}
} else {
var $elem = $("[data-" + pluginName + "-id=" + id + "]");
var $elem = $("[data-" + pluginName + "-id=" + id.replace(new RegExp('/', 'g'), "\\/") + "]");

if ($elem.length) {
var instance = $[pluginName].lookup[$elem.data(pluginName)];
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.remodal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/jquery.remodal.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
}
}
} else {
var $elem = $("[data-" + pluginName + "-id=" + id + "]");
var $elem = $("[data-" + pluginName + "-id=" + id.replace(new RegExp('/', 'g'), "\\/") + "]");

if ($elem.length) {
var instance = $[pluginName].lookup[$elem.data(pluginName)];
Expand Down

0 comments on commit 117bec5

Please sign in to comment.