Skip to content

Commit

Permalink
38334 update jQuery code to use $
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-eastgate committed Oct 11, 2023
1 parent c61278e commit 11f0e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/onoffice-custom-select.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jQuery(document).ready(function () {
jQuery(document).ready(function ($) {
$('.custom-multiple-select, .custom-single-select').select2({
width: '100%'
});
Expand Down
1 change: 1 addition & 0 deletions js/onoffice-form-preview.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(() => {
const $ = jQuery;
const estate_refresh_preview = (element, name) => {
let formData = new FormData(element);
formData.append('preview_name', name);
Expand Down

0 comments on commit 11f0e5e

Please sign in to comment.