Skip to content

Commit

Permalink
TASK: Add $ as parameter for jQuery code
Browse files Browse the repository at this point in the history
  • Loading branch information
markusguenther committed Apr 2, 2021
1 parent 65fe9e1 commit 0037234
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
window.addEventListener('DOMContentLoaded', (event) => {
jQuery(function() {
jQuery(function($) {
$('.draggable-asset').each(function () {
$(this).draggable({
helper: 'clone',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@

<script>
window.addEventListener('DOMContentLoaded', (event) => {
jQuery(function() {
jQuery(function($) {
jQuery('.fold-toggle').click(function() {
jQuery(this).toggleClass('fas fa-chevron-down fas fa-chevron-up');
jQuery('tr.' + jQuery(this).data('toggle')).toggle();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<script>
window.addEventListener('DOMContentLoaded', (event) => {
$(function() {
jQuery(function($) {

var nextPage = '{nextPage}';
var historyContainer = $('.neos-history');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

<script>
window.addEventListener('DOMContentLoaded', (event) => {
jQuery(function() {
jQuery(function($) {
jQuery('#check-all').change(function() {
var value = false;
if (jQuery(this).is(':checked')) {
Expand Down

0 comments on commit 0037234

Please sign in to comment.