Use safe jQuery & remove document ready
This commit is contained in:
parent
f395ea64a9
commit
7821a6bb8f
@ -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);
|
Loading…
Reference in New Issue
Block a user