Script doesn’t load because of a javascript MIME type error

I’m trying to get the jQuery Masonry plugin to work on a site. I’ve updated my template files to get the proper classes where the plugin needs them. Then I enqueued my scripts like this: function masonry_scripts() { wp_enqueue_script(‘masonry’); wp_enqueue_script( ‘masonry-script’, get_template_directory_uri() . ‘/assets/js/masonry-script.js’, array(), false, true ); } add_action( ‘wp_enqueue_scripts’, ‘masonry_scripts’ ); The masonry … Read more