ERROR: Fastclick is undefined
I have a block of users that are getting stopped at the splash page of our HTML5 application: bcc.marioncountyfl.org/gis/interactivemap
They are using Windows Vista Business and the error is coming in all browsers (IE9, Chrome, Firefox):
SCRIPT 1014: INVALID CHARACTER
fastclick is undefined
in Chrome the error looks like:
UNCAUGHT SYTAX ERROR
UNEXPECTED TOKEN
ILLEGAL
FASTCLICK IS NOT DEFINED
Are there any suggestions on how to eliminate this problem? The page will not load beyond the splash screen.
Thanks!
Craig
-
Hi Craig,
Just wondering if you've resolved this issue? I checked your map and it loaded fine on my end (nice work).
Thanks,
Jody0 -
Thanks Jody,
It loads for everybody except one office. There are about 5 people in the office that get this error and nobody else. I still think it is internal to their system/network however, when consulting with their IT group they pinned it back on the website and me... I'm just trying to exhaust all options to get this to work for them. Aside from telling them to stop using Vista I'm not sure what to do. I figure I can comment out the fastclick.js file in index.html but I'm very reluctant to do that since I'm not sure what it does.
0 -
Hi Craig,
Fastclick is used to offer a more responsive experience on mobile devices. The script is shipped along with the viewer in the folder /Resources/Scripts. It's possible that this script is being blocked by the network for some reason. Running Fiddler on an affected machine may yield some clues.
As a workound, you can comment out the line "new FastClick(document.body);" in Index.html and remove the script tag that references it.
Hope this helps!
-Jason
0 -
Jason,
I did the workaround as you suggested and those users are able to get to my application now. Thanks!
Are there any noticable issues I'll come across on the mobile experience now that I've commented those portions of script out?
Testing on my iPhone I didn't notice any usability issues.
Still blaming Vista for this, because, why not.
Thanks again,
Craig0
Please sign in to leave a comment.
Comments
4 comments