Dequeuing Javascript files can be useful if you want to add your own custom Javascript to your calendar with The Events Calendar.

To find the correct asset name, find where the file is located in the site header. The value you should use will be the style or script block ID.

Dequeuing Javascript snippet

Simply alter the following snippet with your correct Javascript file and add it to your theme’s functions.php file.

<?php

// Remove an asset that was registered with Tribe Assets.
// The asset name can be found by finding where the file is loaded 
// in the site head. The value to use will be the ID of the style 
// or script block. 
add_action('wp_enqueue_scripts', function() {
    tribe('assets')->remove('tribe-tickets-plus-modal-styles');
});

One important caveat to note is that when assets are registered with tribe('assets'), they can have dependencies. If a file is a dependency of another, it won’t be removed with this snippet.