Use safe jQuery & remove document ready

This commit is contained in:
gray 2011-09-26 12:01:20 +03:00
parent f395ea64a9
commit 7821a6bb8f
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
$(document).ready(function() {
(function($) {
function replace_in_content(content, regexp_str, with_str) {
reg_exp = new RegExp(regexp_str);
@ -58,4 +58,4 @@ $(document).ready(function() {
$(this).closest(".nested-fields").hide();
});
});
})(jQuery);