Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Commit

Permalink
Update jQuery dollar references
Browse files Browse the repository at this point in the history
  • Loading branch information
funkjedi committed Oct 26, 2018
1 parent 1814483 commit a7f3418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/acf_5/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ acf.registerFieldType(acf.models.PostObjectField.extend({
// select2
this.select2 = [];
this.$('.acf-post-object select').each(function() {
self.select2.push(acf.newSelect2(self.$(this), {
self.select2.push(acf.newSelect2(jQuery(this), {
field: self,
ajax: self.get('ajax'),
multiple: self.get('multiple'),
Expand Down Expand Up @@ -152,7 +152,7 @@ acf.registerFieldType(acf.models.WysiwygField.extend({
initializeEditor: function() {
var self = this;
this.$('.acf-editor-wrap').each(function() {
var $wrap = $(this);
var $wrap = jQuery(this);
var $textarea = $wrap.find('textarea');
var args = {
tinymce: true,
Expand Down

0 comments on commit a7f3418

Please sign in to comment.