Question:
These are my files:
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/bootstrap-collapse.js"></script>
<script type="text/javascript" src="js/bootstrap-tab.js"></script>
<script type="text/javascript" src="js/jquery.mCustomScrollbar.concat.min.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
I have the following problem:
On Mozilla Firefox it works perfectly. In Chrome and Safari they don't run at all. Mistake:
Uncaught SyntaxError: Unexpected token > custom.js:401
Has this problem ever occurred to anyone?
Answer:
I found the error.
On line 401 of my custom.js file I made a condition with the logical operator "Greater or Equal" like this:
=>
the correct one is like this:
>=
But I found it strange that in Firefox it ran normally.