Closed jdelk closed 7 years ago
This is the code I have:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="/js/jquery.localize.min.js"></script> <span data-localize="test">Testing</span> <script type="text/javascript"> $(document).ready(function() { $("[data-localize]").localize("json/lang", { language: "en" }); }); </script>
When I look at chrome's network panel it shows that it's loading lang-en.js twice.
How do I fix this?
Thanks.
It stopped happening. I don't know what caused it though. Might have been a problem with nginx.
This is the code I have:
When I look at chrome's network panel it shows that it's loading lang-en.js twice.
How do I fix this?
Thanks.