cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 jQuery Works in Internet Explorer but not on Firefox and Chrome

Magento 2 jQuery Works in Internet Explorer but not on Firefox and Chrome

Basically title says it all, running jQuery and it works just fine on Internet Explorer but on Chrome and Firefox I'm having no luck.

 

Running Magento 2.1.7

 

Script:

<script>require([ 'jquery', 'jquery/ui'], function($){ 
 $(document).ready(function($) {    jQuery("#homepageTab" ).tabs();
  });
});
  </script>

 

The intended functionality is that when you click on the tabs, it cycles through each one. Been stuck for about a week on this one bug.