Skip to content

Commit

Permalink
Fix admin input error due to acf update
Browse files Browse the repository at this point in the history
  • Loading branch information
edemir206 committed Sep 18, 2019
1 parent 06ca08a commit 7e9956f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions assets/js/input-5.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
(function ($) {
// user
acf.fields.user = acf.fields.select.extend({
(function($){

type: 'user_network'
var Field = acf.models.SelectField.extend({
type: 'user_network',
});

acf.registerFieldType( Field );

});
})(jQuery);
2 changes: 1 addition & 1 deletion assets/js/input-5.min.js

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

0 comments on commit 7e9956f

Please sign in to comment.