Home › Forums › All Other Themes › Java Script Error
- This topic has 5 replies, 3 voices, and was last updated 7 years, 10 months ago by Sonl Sinha.
-
AuthorPosts
-
October 13, 2016 at 2:11 pm #49501
I’m using the Complete Pro theme and got the following java script error:
Uncaught TypeError: Cannot read property ‘classList’ of null
Source file: http://brandingironmarketingllc.com/wp-content/themes/complete/assets/js/complete.js?ver=1 at line: 184, column: 72October 14, 2016 at 9:27 am #49604Hi Liberty,
Kindly remove this code from complete.js
(document, "script", "twitter-wjs"), document.querySelector("#cardId").classList.toggle("flip"); var pc_highestBox = 0; jQuery(".front").each(function() { jQuery(this).height() > pc_highestBox && (pc_highestBox = jQuery(this).height()) }), jQuery(".back").height(pc_highestBox);
You will find the code in bottom of the file.
Regards,
DaveOctober 14, 2016 at 4:13 pm #49678Thank you! That worked but now I am getting this error:
Uncaught TypeError: $(…).colorbox is not a function
Source file: http://brandingironmarketingllc.com/ at line: 813, column: 681October 17, 2016 at 9:29 am #49845Hi,
Didn’t get any error console in the site.
Seems to be fine. Were you able to resolve it on your own?
Regards,
ShriOctober 17, 2016 at 7:01 pm #49924I had run the site through and seo check site and it had given me the error. I just ran it again and the error is resolved so was probably something to do with their site. Thanks!
October 18, 2016 at 12:24 pm #50043Okay cool.
Regards,
Shri -
AuthorPosts
- You must be logged in to reply to this topic.