[SOLVED] Joomla is mangling javascript

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
NginUS
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Sun Nov 02, 2014 3:09 am

[SOLVED] Joomla is mangling javascript

Post by NginUS » Wed Sep 23, 2015 7:55 pm

As detailed in these [1] screenshots, Joomla is inserting a "/" into my javascript somehow.

How can I successfully insert the required js so that it'll be used exactly as its inserted?

[1]
https://imgur.com/a/T0rk2
Last edited by NginUS on Wed Sep 23, 2015 9:55 pm, edited 1 time in total.

NginUS
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Sun Nov 02, 2014 3:09 am

Re: Joomla is mangling javascript

Post by NginUS » Wed Sep 23, 2015 9:55 pm

Solved by doing this:
src = typeof MIXPANEL_CUSTOM_LIB_URL !== 'undefined' ? MIXPANEL_CUSTOM_LIB_URL : "file:"===e.location.


Locked

Return to “Administration 1.5”